Skip to content

Commit

Permalink
fixed hero button
Browse files Browse the repository at this point in the history
  • Loading branch information
tsiupaknazar committed Nov 1, 2024
1 parent 3ecc673 commit c74cd7f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@
Contact us
</a>
</div>
<a class="icon icon--menu" href="#menu">
<a
class="icon icon--menu"
href="#menu"
>
<svg
width="24"
height="24"
Expand Down
6 changes: 4 additions & 2 deletions src/styles/blocks/hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,15 @@
border-radius: 32px;
border: 2px solid $accent-color;

padding: 20px 70px;
padding: 0 71px;
height: 56px;

grid-column: span 2;

font-weight: 500;
font-size: 16px;
line-height: 100%;
letter-spacing: 0.32px;
letter-spacing: 0.02em;
text-transform: uppercase;
color: $accent-color;
transition: all 0.5s;
Expand Down
1 change: 1 addition & 0 deletions src/styles/blocks/icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
&:hover {
fill: $accent-color;
}

@include on-desktop {
display: none;
}
Expand Down

0 comments on commit c74cd7f

Please sign in to comment.