Skip to content

Commit

Permalink
misc fixes related to loading, font-size, alignment (#2504)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunogois committed Nov 22, 2022
1 parent 4d5c12d commit c67e443
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Expand Up @@ -30,7 +30,7 @@ export const FeatureOverviewSidePanelDetails = ({
return (
<StyledContainer>
{header}
<div>
<div data-loading>
<StyledLabel>Created at:</StyledLabel>
<span>
{formatDateYMD(
Expand Down
Expand Up @@ -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),
},
Expand Down
Expand Up @@ -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,
}));

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

0 comments on commit c67e443

Please sign in to comment.