mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 05:00:43 +10:00
Change booking breakdown layout
Make the subtotal line stick out a bit more.
This commit is contained in:
parent
1f0938a87c
commit
551dff00ce
2 changed files with 16 additions and 1 deletions
|
|
@ -32,6 +32,21 @@
|
|||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.subTotalLineItem {
|
||||
@apply --marketplaceH4FontStyles;
|
||||
font-weight: var(--fontWeightBold);
|
||||
|
||||
margin: 4px 0 1px 0;
|
||||
|
||||
@media (--viewportMedium) {
|
||||
margin: 6px 0 9px 0;
|
||||
}
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.itemLabel {
|
||||
flex: 1;
|
||||
margin-top: 1px; /* align with baseline */
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ const LineItemSubTotalMaybe = props => {
|
|||
const formattedSubTotal = subTotalLineItems.length > 0 ? formatMoney(intl, subTotal) : null;
|
||||
|
||||
return formattedSubTotal && showSubTotal ? (
|
||||
<div className={css.lineItem}>
|
||||
<div className={css.subTotalLineItem}>
|
||||
<span className={css.itemLabel}>
|
||||
<FormattedMessage id="BookingBreakdown.subTotal" />
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue