fix webkit highlight

This commit is contained in:
Viktor Rådberg
2024-01-13 14:55:39 +01:00
parent 4f231ba6f4
commit 4ecb83060d

View File

@@ -22,6 +22,21 @@ import {
RotationDivProps, RotationDivProps,
} from '../Buttons/CommanderDamage'; } from '../Buttons/CommanderDamage';
const CheckboxContainer = twc.div``;
const PlayerMenuWrapper = twc.div`
flex
flex-col
absolute
w-full
h-full
bg-background-settings
items-center
justify-center
z-[2]
webkit-user-select-none
`;
const BetterRowContainer = twc.div` const BetterRowContainer = twc.div`
flex flex
flex-col flex-col
@@ -59,7 +74,8 @@ const ColorPicker = twc.input`
outline-none outline-none
cursor-pointer cursor-pointer
bg-transparent bg-transparent
user-select-nonetext-common-white user-select-none
text-common-white
`; `;
const SettingsContainer = twc.div<RotationDivProps>((props) => [ const SettingsContainer = twc.div<RotationDivProps>((props) => [
@@ -69,20 +85,6 @@ const SettingsContainer = twc.div<RotationDivProps>((props) => [
: 'flex-row', : 'flex-row',
]); ]);
const CheckboxContainer = twc.div``;
const PlayerMenuWrapper = twc.div`
flex
flex-col
absolute
w-full
h-full
bg-background-settings
items-center
justify-center
z-[2]
`;
const CloseButton = twc.button<RotationButtonProps>((props) => [ const CloseButton = twc.button<RotationButtonProps>((props) => [
'absolute border-none outline-none cursor-pointer bg-transparent z-[99]', 'absolute border-none outline-none cursor-pointer bg-transparent z-[99]',
props.$rotation === Rotation.Side props.$rotation === Rotation.Side