mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-29 12:45:32 +08:00
fix(baseline): fix section styles
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user