Skip to content

Commit

Permalink
Properly center text of cookie notice (#11662)
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough authored Feb 3, 2025
1 parent 47c1ec6 commit 373566f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/_sass/components/_cookie-notice.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
@use '../base/variables' as *;

#cookie-notice {
display: none;
justify-content: center;
background-color: $site-color-white;
padding: 2rem;
padding: 1.5rem;
position: fixed;
bottom: 0;
width: 100%;
box-shadow: -1px 1px 4px rgba(0, 0, 0, 0.3);
opacity: 0;
display: none;
z-index: 1060;

@keyframes fadein {
Expand All @@ -20,12 +21,8 @@
}
}

button.filled-button {
font-size: 1rem;
}

&.show {
display: block;
display: flex;
animation-duration: 500ms;
animation-delay: 200ms;
animation-name: fadein;
Expand Down

0 comments on commit 373566f

Please sign in to comment.