fix(baseline): fix section styles

This commit is contained in:
unix
2020-03-27 09:40:47 +08:00
parent a4a7a3c8e7
commit 80d169f984

View File

@@ -155,11 +155,6 @@ const CSSBaseline: React.FC<React.PropsWithChildren<{}>> = React.memo(({
font-weight: 600;
}
selection {
background-color: ${theme.palette.background};
color: ${theme.palette.foreground};
}
input-webkit-autofill {
box-shadow: 0 0 0 100px var(--geist-background) inset;
}
@@ -240,6 +235,11 @@ const CSSBaseline: React.FC<React.PropsWithChildren<{}>> = React.memo(({
outline: none;
list-style: none;
}
::selection {
background-color: ${theme.palette.selection};
color: ${theme.palette.foreground};
}
`}</style>
</>
)