Client: PortalSettings: fix header

This commit is contained in:
Viktor Fomin 2024-07-23 16:01:12 +03:00
parent faac37843b
commit c89bd66205

View File

@ -74,8 +74,6 @@ const HeaderContainer = styled.div`
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
color: ${(props) => props.theme.client.settings.headerTitleColor}; color: ${(props) => props.theme.client.settings.headerTitleColor};
display: flex;
align-items: center;
} }
} }
.action-wrapper { .action-wrapper {
@ -368,20 +366,24 @@ const SectionHeaderContent = (props) => {
/> />
)} )}
<Headline type="content" truncate={true}> <Headline type="content" truncate={true}>
{t(header, { <div className="settings-section_header">
organizationName: t("Common:OrganizationName"), <div className="header">
})} {t(header, {
{isNeedPaidIcon ? ( organizationName: t("Common:OrganizationName"),
<Badge })}
backgroundColor={theme.isBase ? "#EDC409" : "#A38A1A"} </div>
label={t("Common:Paid")} {isNeedPaidIcon ? (
fontWeight="700" <Badge
className="settings-section_badge" backgroundColor={theme.isBase ? "#EDC409" : "#A38A1A"}
isPaidBadge={true} label={t("Common:Paid")}
/> fontWeight="700"
) : ( className="settings-section_badge"
"" isPaidBadge={true}
)} />
) : (
""
)}
</div>
</Headline> </Headline>
<div className="tariff-bar"> <div className="tariff-bar">
<TariffBar /> <TariffBar />