fix: remove title and wrapper margins; add subtitle margins

Signed-off-by: Ryan Vazquez <ryanv@spotify.com>
This commit is contained in:
Ryan Vazquez
2021-09-11 14:57:07 -04:00
parent 005510dabe
commit 87e63d8181
@@ -41,7 +41,6 @@ const useStyles = makeStyles<BackstageTheme>(theme => ({
leftItemsBox: {
maxWidth: '100%',
flexGrow: 1,
marginBottom: theme.spacing(1),
},
rightItemsBox: {
width: 'auto',
@@ -50,11 +49,13 @@ const useStyles = makeStyles<BackstageTheme>(theme => ({
color: theme.palette.bursts.fontColor,
wordBreak: 'break-all',
fontSize: 'calc(24px + 6 * ((100vw - 320px) / 680))',
marginBottom: theme.spacing(1),
marginBottom: 0,
},
subtitle: {
color: 'rgba(255, 255, 255, 0.8)',
lineHeight: '1.0em',
display: 'inline-block', // prevents margin collapse of adjacent siblings
marginTop: theme.spacing(1),
},
type: {
textTransform: 'uppercase',