Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Fix #64 use margin style now that Core layout styles issues is resolv…
Browse files Browse the repository at this point in the history
…ed in 6.3
  • Loading branch information
admturner committed Jul 20, 2023
1 parent 7ce7dd9 commit 3efb1ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/template-library/header-unit/block.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.wsu-header-unit {
margin-top: 0;
}

.wsu-header-unit__banner {
align-items: center;
display: flex;
Expand Down
5 changes: 3 additions & 2 deletions src/template-library/header-utility-bar/block.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
.wsu-header-utility-bar {
margin-top: 0;
position: absolute;
right: 0;
top: calc(-1 * var(--wp--preset--spacing--10));
top: 0;
z-index: 1035;

@media screen and (max-width: 1260px) {
display: none;
}

.admin-bar & {
top: calc(-1 * var(--wp--preset--spacing--10) + 32px);
top: 32px;
}

&::before {
Expand Down

0 comments on commit 3efb1ac

Please sign in to comment.