We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f57c4af commit 8458896Copy full SHA for 8458896
2 files changed
projects/element-ng/system-banner/system-banner.component.scss
@@ -7,7 +7,7 @@
7
inline-size: 100%;
8
9
.banner {
10
- padding-block: map.get(variables.$spacers, 1);
+ padding-block: variables.$si-system-banner-padding-y;
11
padding-inline: map.get(variables.$spacers, 5);
12
}
13
projects/element-theme/src/styles/variables/_si-vars.scss
@@ -1,3 +1,5 @@
1
+@use 'sass:map';
2
+@use './spacers';
3
@use './animations';
4
5
// Custom variables
@@ -12,7 +14,8 @@ $btn-width-normal: 80px;
14
$si-application-header-height: 48px;
15
16
$si-titlebar-height: 36px;
-$si-system-banner-height: 20px;
17
+$si-system-banner-padding-y: map.get(spacers.$spacers, 1);
18
+$si-system-banner-height: calc(1rem + 2 * $si-system-banner-padding-y);
19
20
// allows adding a custom titlebar on top
21
// stylelint-disable-next-line length-zero-no-unit
0 commit comments