Summary header: round-logo badges + remove share/buy from leg body

Connecting itineraries now render details-header-badge with the small
round airline icon (36×36) from Angular's `[round]="isConnecting"`
path and drop the 'Авиакомпания' caption, so the SU 6188 + SU 6341
row sits compactly next to the share/buy/last-update cluster instead
of stretching two wide wordmarks across the summary.

Share + Buy buttons removed from ScheduleFlightBody — Angular's
`flight-schedule-details` wires `[share]=false [buy]=false
[print]=false [details]=false [register]=false` into its inner
flight-actions, so a per-leg action strip was never meant to exist.
The page-level summary header now owns those affordances.

OperatorLogo.scss: override the 180×46 rule inside .details-header-badge
when the logo carries .operator-logo--round so the connecting-summary
badge doesn't force a wide wordmark.

BoardDetailsHeader.scss is imported from DetailsHeaderBadge.tsx so
consumers (schedule details summary) that use the badge without the
full BoardDetailsHeader wrapper still pick up flex/gap/typography.
This commit is contained in:
2026-04-23 17:07:25 +03:00
parent cbced8d4b6
commit fa4656dab1
5 changed files with 50 additions and 218 deletions
+11
View File
@@ -62,3 +62,14 @@
width: 180px;
height: 46px;
}
// Round variant inside the details-header-badge must override the
// 180×46 rule above — Angular's `.company-logo.round` pins at 36×36
// regardless of the `large` flag, so per-flight badges in a connecting
// summary show a compact round airline icon next to "SU 6188", not a
// full-width wordmark. Higher specificity (class×2) beats the plain
// `.details-header-badge__airline .operator-logo` above.
.details-header-badge__airline .operator-logo.operator-logo--round {
width: 36px;
height: 36px;
}