Skip to content

Commit 90f443e

Browse files
author
AJ Griffiths
committed
[WIP] Still playing with styling
1 parent ce6eeec commit 90f443e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tbx/static_src/sass/components/_call-to-action.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@
4848

4949
&__sticky {
5050
@include z-index(sticky);
51-
position: sticky;
52-
right: 0;
53-
51+
@include media-query(large) {
52+
position: fixed;
53+
top: 50%;
54+
right: 0;
55+
}
5456
background-color: var(--color--theme-primary);
5557
padding: $spacer-small;
5658
}

0 commit comments

Comments
 (0)