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