Client: PortalSettings: fix header
This commit is contained in:
parent
faac37843b
commit
c89bd66205
@ -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 />
|
||||||
|
Loading…
Reference in New Issue
Block a user