ScheduleSearchPage direction-switch: $space-xl margin + bottom border (Angular .schedule-home-page-header parity)

This commit is contained in:
2026-04-20 16:18:37 +03:00
parent 40c3ed62fa
commit 3806e8371a
@@ -34,9 +34,20 @@
// `Туда / Обратно` segmented switch in the sticky header for round-
// trip schedules. Mirrors Angular `schedule-direction-switch.component`
// exactly: fixed-width 130×40 buttons with an extra-blue border, the
// active button filled extra-blue with white text.
// active button filled extra-blue with white text. The $space-xl
// margin matches Angular's `.schedule-home-page-header { margin: $space-xl }`
// and the bottom border mirrors `.schedule-home-page-header-border`.
.schedule-direction-switch {
display: flex;
margin: vars.$space-xl;
padding-bottom: vars.$space-xl;
border-bottom: 1px solid colors.$border;
@include screen.mobile {
margin-left: 0;
margin-right: 0;
border-bottom: none;
}
&__btn {
display: flex;