1
0
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:
Nuno Góis 2022-11-22 16:04:01 +00:00 committed by GitHub
parent 4d5c12dbf7
commit c67e44385c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View File

@ -30,7 +30,7 @@ export const FeatureOverviewSidePanelDetails = ({
return (
<StyledContainer>
{header}
<div>
<div data-loading>
<StyledLabel>Created at:</StyledLabel>
<span>
{formatDateYMD(

View File

@ -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),
},

View File

@ -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,
}));

View File

@ -113,6 +113,7 @@ export const FeatureOverviewSidePanelTags = ({
show={<StyledDivider />}
/>
<StyledButton
data-loading
variant="outlined"
startIcon={<Add />}
onClick={() => setOpenTagDialog(true)}