Commit 0d852b61 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

fix: apply user-select to widget, not to constituents (#3345)

parent 8ac3b836
......@@ -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};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment