diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-10-27 16:09:03 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-10-27 16:09:03 +0200 |
| commit | 1e972f20c1e42ee9b6485a7b86b2d87f26e2d302 (patch) | |
| tree | fe358d6740f085bd5102b30bdd5a7eb6844e2c13 /htdocs/src/scss/layout/_main.scss | |
| parent | 336c97087ab2e0037ec90c524f9d7f8620b9865a (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/layout/_main.scss')
| -rw-r--r-- | htdocs/src/scss/layout/_main.scss | 3 |
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") { |
