Skip to content

Commit

Permalink
Fixed footer height
Browse files Browse the repository at this point in the history
  • Loading branch information
k-marchuk committed Sep 18, 2024
1 parent a75118b commit f4031f7
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 16 deletions.
24 changes: 12 additions & 12 deletions src/components/Footer/Footer.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
.footer {
border-top: 1px solid $elemnts-color;
font-size: 12px;
background-color: #fff;
background-color: $white-color;

@include onMobile {
height: 257px;
padding: 32px 16px;
}
@include onTablet {
height: 96px;
}

@include onDesktop {
height: 96px;
padding: 32px 16px;
}

&__container {
height: 100%;
@include container;
Expand All @@ -21,9 +21,6 @@
@include onTablet {
flex-direction: row;
}

@include onDesktop {
}
}

&__logo {
Expand All @@ -42,11 +39,8 @@
line-height: 11px;
letter-spacing: 4%;
color: $secondary-color;

display: flex;

align-items: center;

width: 100%;
justify-content: center;

Expand All @@ -56,6 +50,12 @@
width: 200px;
}

&-text {
font-size: pxToRem(12);
font-weight: 700;
line-height: 16px;
}

&-icon {
width: 32px;
height: 32px;
Expand Down
15 changes: 12 additions & 3 deletions src/components/Footer/NavFooter/NavFooter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,32 @@
flex-direction: column;
align-items: flex-start;
gap: 16px;
margin-top: 32px;
margin-bottom: 32px;

@include onTablet {
flex-direction: row;
align-items: center;
}

@include onDesktop {
gap: 106px;
}
}

&__link {
text-decoration: none;
color: inherit;
text-transform: uppercase;
font-weight: 800;
font-size: 12px;
font-size: pxToRem(12);
line-height: 11px;
letter-spacing: 4%;
color: #89939a;
letter-spacing: 0.04em;
color: $secondary-color;
flex: 1;
text-align: center;
}

@include onTablet {
}
}
2 changes: 1 addition & 1 deletion src/styles/utils/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ body {

.footer {
// background-color: lightgray;
padding: 20px;
padding: 0px;
text-align: center;
}

0 comments on commit f4031f7

Please sign in to comment.