summaryrefslogtreecommitdiffstats
path: root/src/objects/_dialog.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-02-04 21:30:26 +0100
committerVolpeon <git@volpeon.ink>2023-02-04 21:30:26 +0100
commit08466080a960cd9944d559c481085a23dabffbf0 (patch)
treecdc8fdffd84181c078a059ebbc448a46183bfa28 /src/objects/_dialog.scss
parentUpdate dialog (diff)
downloadiro-design-08466080a960cd9944d559c481085a23dabffbf0.tar.gz
iro-design-08466080a960cd9944d559c481085a23dabffbf0.tar.bz2
iro-design-08466080a960cd9944d559c481085a23dabffbf0.zip
Scrollable dialog improvements
Diffstat (limited to 'src/objects/_dialog.scss')
-rw-r--r--src/objects/_dialog.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/objects/_dialog.scss b/src/objects/_dialog.scss
index b935f8d..a85fd1f 100644
--- a/src/objects/_dialog.scss
+++ b/src/objects/_dialog.scss
@@ -58,6 +58,7 @@
58 'sidebar footer'; 58 'sidebar footer';
59 position: relative; 59 position: relative;
60 box-sizing: border-box; 60 box-sizing: border-box;
61 flex: 0 0 auto;
61 width: 100%; 62 width: 100%;
62 max-width: fn.dim(--width-md); 63 max-width: fn.dim(--width-md);
63 margin: 0 auto; 64 margin: 0 auto;
@@ -120,6 +121,15 @@
120 padding: fn.dim(--body --pad-y) fn.dim(--body --pad-x); 121 padding: fn.dim(--body --pad-y) fn.dim(--body --pad-x);
121 } 122 }
122 123
124 @include iro.bem-modifier('scrollable') {
125 flex-shrink: 1;
126
127 @include iro.bem-elem('body') {
128 overflow: auto;
129 scrollbar-color: fn.global-color(--obj-lo) transparent;
130 }
131 }
132
123 @include iro.bem-modifier('flat') { 133 @include iro.bem-modifier('flat') {
124 @include iro.bem-elem('header') { 134 @include iro.bem-elem('header') {
125 border-bottom: 0; 135 border-bottom: 0;