Fix styles

This commit is contained in:
dominik-zeglen 2020-10-29 13:14:05 +01:00
parent 815941fc82
commit 393b4a5860

View file

@ -40,7 +40,7 @@ const useStyles = makeStyles(
label: { label: {
color: theme.palette.text.secondary, color: theme.palette.text.secondary,
position: "absolute", position: "absolute",
top: theme.spacing(4), top: theme.spacing(1),
transition: theme.transitions.duration.short + "ms" transition: theme.transitions.duration.short + "ms"
}, },
labelActive: { labelActive: {
@ -50,6 +50,10 @@ const useStyles = makeStyles(
"& .cdx-quote__text": { "& .cdx-quote__text": {
minHeight: 24 minHeight: 24
}, },
"& .ce-block__content": {
margin: 0,
maxWidth: "unset"
},
"& .ce-conversion-tool": { "& .ce-conversion-tool": {
...hover ...hover
}, },
@ -80,10 +84,11 @@ const useStyles = makeStyles(
"&:hover": { "&:hover": {
borderColor: theme.palette.primary.main borderColor: theme.palette.primary.main
}, },
border: `1px solid ${theme.palette.divider}`, border: `1px solid ${fade(theme.palette.text.secondary, 0.4)}`,
borderRadius: 8, borderRadius: 4,
boxShadow: `inset 0 0 0 0 ${theme.palette.primary.main}`, boxShadow: `inset 0 0 0 0 ${theme.palette.primary.main}`,
padding: theme.spacing(3, 2), padding: theme.spacing(3, 2),
position: "relative",
transition: theme.transitions.duration.short + "ms" transition: theme.transitions.duration.short + "ms"
}, },
rootActive: { rootActive: {