fix: apply user-select to widget, not to constituents (#3345)
This commit is contained in:
parent
8ac3b836bd
commit
0d852b6165
@ -35,12 +35,12 @@ const WidgetWrapper = styled.div<{ width?: number | string }>`
|
||||
min-width: 300px;
|
||||
padding: 0.25em;
|
||||
position: relative;
|
||||
user-select: none;
|
||||
width: ${({ width }) => width && (isNaN(Number(width)) ? width : `${width}px`)};
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
font-family: ${({ theme }) => theme.fontFamily};
|
||||
user-select: none;
|
||||
|
||||
@supports (font-variation-settings: normal) {
|
||||
font-family: ${({ theme }) => theme.fontFamilyVariable};
|
||||
|
Loading…
Reference in New Issue
Block a user