aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/src/scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-10-27 16:09:03 +0200
committerArmand Philippot <git@armandphilippot.com>2021-10-27 16:09:03 +0200
commit1e972f20c1e42ee9b6485a7b86b2d87f26e2d302 (patch)
treefe358d6740f085bd5102b30bdd5a7eb6844e2c13 /htdocs/src/scss
parent336c97087ab2e0037ec90c524f9d7f8620b9865a (diff)
chore(styles): add overflow-y auto to project details
When the content is long, it is preferable to make the div scrollable to avoid breaking design.
Diffstat (limited to 'htdocs/src/scss')
-rw-r--r--htdocs/src/scss/layout/_main.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/htdocs/src/scss/layout/_main.scss b/htdocs/src/scss/layout/_main.scss
index 5a7ec20..ff3a0ec 100644
--- a/htdocs/src/scss/layout/_main.scss
+++ b/htdocs/src/scss/layout/_main.scss
@@ -57,7 +57,10 @@
background: fun.get-var(color-bg-secondary);
box-shadow: 0 -1px 2px 0 fun.get-var(color-shadow);
flex: 1 0 100%;
+ overflow-y: auto;
padding: fun.get-var(spacing-md);
+ scrollbar-color: fun.get-var(color-primary-light-opacity)
+ fun.get-var(color-bg-tertiary);
@include mix.media("screen") {
@include mix.dimensions("lg") {