Skip to content

Commit

Permalink
avoid double arrow buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Nov 21, 2023
1 parent fb7e3b2 commit 16c0780
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions scss/modules/buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,29 +90,31 @@
}

// btn white circle arrow
.btn-white-circle-arrow {
background: url('../images/arrow-circle-blue.svg') no-repeat right center/40px;
color: $white;
display: inline-table;
font-size: 16px;
font-weight: 600;
line-height: 30px;
padding: 10px 50px 10px 10px;
transition: padding 0.3s;
:not(.btn-white-circle-arrow) {
.btn-white-circle-arrow {
background: url('../images/arrow-circle-blue.svg') no-repeat right center/40px;
color: $white;
display: inline-table;
font-size: 16px;
font-weight: 600;
line-height: 30px;
padding: 10px 50px 10px 10px;
transition: padding 0.3s;

@media (min-width: #{$screen-tablet}) {
background-size: 47px;
font-size: 18px;
padding: 10px 65px 10px 10px;
}
@media (min-width: #{$screen-tablet}) {
background-size: 47px;
font-size: 18px;
padding: 10px 65px 10px 10px;
}

&:hover,
&:focus {
padding: 10px 57px 10px 10px;
text-decoration: none;
&:hover,
&:focus {
padding: 10px 57px 10px 10px;
text-decoration: none;

@media (min-width: #{$screen-tablet}) {
padding: 10px 72px 10px 10px;
@media (min-width: #{$screen-tablet}) {
padding: 10px 72px 10px 10px;
}
}
}
}
Expand Down

0 comments on commit 16c0780

Please sign in to comment.