Skip to content

Commit

Permalink
fixed width block "about-us", add cursor pointer for button & add hov…
Browse files Browse the repository at this point in the history
…er for link"
  • Loading branch information
kravets11 committed Oct 18, 2023
1 parent 6a0bf95 commit fe8ffeb
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/styles/blocks/about-us.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
}

@include onDesktop {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-bottom: 298px;
}

Expand All @@ -34,6 +38,16 @@

@include contentPaddingInline;
@include contentPaddingBlock;

@include onDesktop {
display: flex;
flex-direction: column;
justify-content: center;
margin-inline: 0;
padding-inline: 0;
max-width: 100%;
width: 100%;
}
}

&__products {
Expand Down
1 change: 1 addition & 0 deletions src/styles/blocks/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
font-family: $font-family-pop;
font-size: 15px;
font-weight: 600;
cursor: pointer;

display: flex;
justify-content: center;
Expand Down
5 changes: 5 additions & 0 deletions src/styles/blocks/contacts-us.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@
font-weight: 600;
line-height: 150%;
text-decoration: none;
transition: color 0.3s ease;

&:hover {
color: $active-color;
}
}

&--link {
Expand Down

0 comments on commit fe8ffeb

Please sign in to comment.