We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4947f78 commit 3b04d43Copy full SHA for 3b04d43
hypha/static_src/sass/components/_admin-bar.scss
@@ -2,18 +2,14 @@
2
@use "../abstracts/variables";
3
4
.admin-bar {
5
- position: relative;
6
- inset-inline-end: 50%;
7
- inset-inline-start: 50%;
8
- width: 100vw;
9
padding: variables.$mobile-gutter;
10
- margin-inline-end: -50vw;
11
- margin-inline-start: -50vw;
+ margin-inline: calc(0px - variables.$mobile-gutter);
12
color: variables.$color--white;
13
background-color: variables.$color--dark-grey;
14
15
@include mixins.media-query(xl) {
16
padding-inline: 0;
+ margin-inline: calc(50% - 50vw);
17
}
18
19
&__inner {
0 commit comments