Skip to content

Commit

Permalink
(hds-2183) Remove useless @use header styles
Browse files Browse the repository at this point in the history
There are no mixins or scss vars in the header.module.scss, so this @use only adds unused css-classes to built css.
  • Loading branch information
NikoHelle committed Apr 4, 2024
1 parent 3c86128 commit ed08dd8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@use "../../Header.module.scss";
@use "../../../../styles/common.scss";
@use "./_typography.scss";
@use '../../../../styles/common.scss';
@use './_typography.scss';
@value medium-down from "../../../../styles/breakpoints.scss";

.headerActionBar {
Expand Down Expand Up @@ -104,4 +103,4 @@
.headerActionBarContainer {
border-bottom: none;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@use '../../Header.module.scss';
@use '../../../../styles/common.scss';

button.actionBarItem {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@use "../../Header.module.scss";
@import '../../../../styles/common.scss';

.languageSelector {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@use "../../Header.module.scss";
@import "../../../../styles/common.scss";
@import '../../../../styles/common.scss';

.headerLink.headerLink {
--link-color: var(--color-black-90);
Expand Down Expand Up @@ -31,7 +30,6 @@
padding-left: var(--header-focus-outline-width);
}


.navigationLinkWrapper {
align-items: center;
display: flex;
Expand All @@ -53,7 +51,7 @@
}
}

.headerLink.isNotLargeScreen{
.headerLink.isNotLargeScreen {
align-self: center;
border: none;
box-sizing: border-box;
Expand All @@ -63,5 +61,7 @@
padding: 0;
word-wrap: break-word;

&:focus { border: none }
&:focus {
border: none;
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@use "../../../Header.module.scss";

button.button {
background-color: var(--nav-button-background-color);
border: none;
Expand Down

0 comments on commit ed08dd8

Please sign in to comment.