Skip to content

Commit 20a66c1

Browse files
committed
upd code according to coderabbit
1 parent 098841c commit 20a66c1

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

website/modules/asset/ui/src/scss/_footer.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
}
6969
}
7070

71-
.sf-footer__links > .sf-footer__links-item:last-child {
71+
.sf-footer__links-item--policy {
7272
margin-top: 44px;
7373
@include breakpoint-medium {
7474
margin-top: 0;
@@ -86,6 +86,12 @@
8686
font-weight: $font-weight-medium;
8787
font-size: $font-size-body-small;
8888
line-height: 140%;
89-
margin: 0;
9089
color: $gray-300;
9190
}
91+
92+
// Обмежити margin reset тільки в контексті футера для уникнення глобальних регресій
93+
.sf-footer {
94+
.sf-copy {
95+
margin: 0;
96+
}
97+
}

website/views/fragments/fragments.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@
4848
connect@speedandfunction.com
4949
</a>
5050
</div>
51-
<a href="/privacy-policy" class="sf-footer__links-item">
51+
<a href="/privacy-policy" class="sf-footer__links-item sf-footer__links-item--policy">
5252
privacy policy
5353
</a>
5454
</div>
5555

5656
<div class="sf-footer__bottom">
57-
<p class="sf-copy">&#169; {{ data.currentYear or '2025' }} S&F</p>
57+
<p class="sf-copy">&#169; {{ data.currentYear or '2025' }} S&amp;F</p>
5858
</div>
5959
</div>
6060
</footer>

0 commit comments

Comments
 (0)