Skip to content

Commit

Permalink
add border bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
myrta2302 committed Dec 16, 2024
1 parent 19b25fa commit d89cac2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@use '@swisspost/design-system-styles/mixins/media';
@use '@swisspost/design-system-styles/variables/animation';
@use '@swisspost/design-system-styles/mixins/utilities';

*,
::before,
Expand All @@ -12,6 +13,9 @@
--global-header-minimal-height: 24px;
--main-header-height: 56px;
--header-height: calc(var(--global-header-height) + var(--main-header-height));
@include utilities.high-contrast-mode() {
display: block;
}

@include media.min(lg) {
display: block;
Expand Down
5 changes: 4 additions & 1 deletion packages/styles/src/components/header/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
@use 'mixins' as *;

post-header {
ul[slot="meta-navigation"] {
@include utilities.high-contrast-mode() {
border-bottom: 2px solid LinkText !important;
}
ul[slot='meta-navigation'] {
gap: var(--post-core-dimension-4);

@include media.max(lg) {
Expand Down

0 comments on commit d89cac2

Please sign in to comment.