diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/index.scss | 1 | ||||
-rw-r--r-- | src/layouts/_button-group.scss | 15 | ||||
-rw-r--r-- | src/objects/_dialog.scss | 4 |
3 files changed, 18 insertions, 2 deletions
diff --git a/src/index.scss b/src/index.scss index 3796c18..21054db 100644 --- a/src/index.scss +++ b/src/index.scss | |||
@@ -6,6 +6,7 @@ | |||
6 | 6 | ||
7 | @use 'layouts/card'; | 7 | @use 'layouts/card'; |
8 | @use 'layouts/container'; | 8 | @use 'layouts/container'; |
9 | @use 'layouts/button-group'; | ||
9 | 10 | ||
10 | @use 'objects/icon'; | 11 | @use 'objects/icon'; |
11 | @use 'objects/heading'; | 12 | @use 'objects/heading'; |
diff --git a/src/layouts/_button-group.scss b/src/layouts/_button-group.scss new file mode 100644 index 0000000..aee2000 --- /dev/null +++ b/src/layouts/_button-group.scss | |||
@@ -0,0 +1,15 @@ | |||
1 | @use 'iro-sass/src/index' as iro; | ||
2 | @use '../functions' as fn; | ||
3 | |||
4 | @include iro.props-namespace('button-group') { | ||
5 | @include iro.props-store(( | ||
6 | --dims: ( | ||
7 | --spacing: 1rem | ||
8 | ), | ||
9 | ), 'dims'); | ||
10 | |||
11 | @include iro.bem-layout(iro.props-namespace()) { | ||
12 | display: flex; | ||
13 | gap: 1rem; | ||
14 | } | ||
15 | } | ||
diff --git a/src/objects/_dialog.scss b/src/objects/_dialog.scss index 453b32b..4f18b08 100644 --- a/src/objects/_dialog.scss +++ b/src/objects/_dialog.scss | |||
@@ -50,8 +50,8 @@ | |||
50 | } | 50 | } |
51 | 51 | ||
52 | @include iro.bem-elem('footer') { | 52 | @include iro.bem-elem('footer') { |
53 | padding-top: fn.dim(--pad-y); | 53 | justify-content: flex-end; |
54 | text-align: right; | 54 | padding-top: fn.dim(--pad-y); |
55 | } | 55 | } |
56 | } | 56 | } |
57 | } | 57 | } |