mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
misc fixes related to loading, font-size, alignment (#2504)
https://linear.app/unleash/issue/2-423/update-feature-toggle-overview-sidepanel
This commit is contained in:
parent
4d5c12dbf7
commit
c67e44385c
@ -30,7 +30,7 @@ export const FeatureOverviewSidePanelDetails = ({
|
||||
return (
|
||||
<StyledContainer>
|
||||
{header}
|
||||
<div>
|
||||
<div data-loading>
|
||||
<StyledLabel>Created at:</StyledLabel>
|
||||
<span>
|
||||
{formatDateYMD(
|
||||
|
@ -15,6 +15,7 @@ import { styled } from '@mui/material';
|
||||
import StringTruncator from 'component/common/StringTruncator/StringTruncator';
|
||||
|
||||
const StyledContainer = styled('div')(({ theme }) => ({
|
||||
marginLeft: theme.spacing(-1.5),
|
||||
'&:not(:last-of-type)': {
|
||||
marginBottom: theme.spacing(2),
|
||||
},
|
||||
|
@ -15,11 +15,11 @@ const StyledSwitchLabel = styled('div')(() => ({
|
||||
}));
|
||||
|
||||
const StyledLabel = styled('p')(({ theme }) => ({
|
||||
fontSize: theme.fontSizes.smallBody,
|
||||
fontSize: theme.fontSizes.bodySize,
|
||||
}));
|
||||
|
||||
const StyledSubLabel = styled('p')(({ theme }) => ({
|
||||
fontSize: theme.fontSizes.smallerBody,
|
||||
fontSize: theme.fontSizes.smallBody,
|
||||
color: theme.palette.text.secondary,
|
||||
}));
|
||||
|
||||
|
@ -113,6 +113,7 @@ export const FeatureOverviewSidePanelTags = ({
|
||||
show={<StyledDivider />}
|
||||
/>
|
||||
<StyledButton
|
||||
data-loading
|
||||
variant="outlined"
|
||||
startIcon={<Add />}
|
||||
onClick={() => setOpenTagDialog(true)}
|
||||
|
Loading…
Reference in New Issue
Block a user