Skip to content

Commit 3fec29b

Browse files
committed
fixed nav a movement due to border on hover
1 parent a333242 commit 3fec29b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sarahjaine/static_src/scss/_navigation.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
font-weight: $font-weight-bold;
1111
letter-spacing: 0.1rem;
1212
font-size: 1rem;
13+
border: 1px solid transparent;
1314
&:hover, &:active {
1415
color: $white;
1516
background-color: $red;
@@ -50,6 +51,7 @@
5051
.footer--bar-inner {
5152
@extend .header--bar;
5253
a {
54+
border: initial;
5355
&:nth-of-type(2), &:nth-of-type(3), &:nth-of-type(4) {
5456
margin-left: 0rem;
5557
margin-right: 0rem;

0 commit comments

Comments
 (0)