diff --git a/src/api/tariff.ts b/src/api/tariff.ts index b65563e..403c9df 100644 --- a/src/api/tariff.ts +++ b/src/api/tariff.ts @@ -74,9 +74,7 @@ export async function getCustomTariffs( const tempCustomTariffsResponse = { ...customTariffsResponse, - squiz: customTariffsResponse.squiz.filter( - ({ name }) => !name.toLocaleLowerCase().includes("шильдик") - ), + squiz: customTariffsResponse.squiz }; return [tempCustomTariffsResponse] diff --git a/src/components/TotalPrice.tsx b/src/components/TotalPrice.tsx index df88fa7..3eeed45 100644 --- a/src/components/TotalPrice.tsx +++ b/src/components/TotalPrice.tsx @@ -92,7 +92,8 @@ export default function TotalPrice({ priceAfterDiscounts, priceBeforeDiscounts, color: theme.palette.gray.dark, width: upMd ? "31.5%" : undefined, display: "flex", - alignItems: "center", + alignItems: upMd ? "center" : "start", + flexDirection: upMd ? "row" : "column", gap: "30px" }} > @@ -129,6 +130,7 @@ export default function TotalPrice({ priceAfterDiscounts, priceBeforeDiscounts, height: "31px", padding: "5px 10px", right: "0px", + top: upMd ? 0 : "17px", }, }} > @@ -158,19 +160,21 @@ export default function TotalPrice({ priceAfterDiscounts, priceBeforeDiscounts, - {notEnoughMoneyAmount > 0 && ( - - Нехватает {currencyFormatter.format(notEnoughMoneyAmount / 100)} - - )} - + + {notEnoughMoneyAmount > 0 && ( + + Не хватает {currencyFormatter.format(notEnoughMoneyAmount / 100)} + + )} + + );