ios fixes, settings for ios and desktop

This commit is contained in:
Viktor Rådberg
2023-07-04 23:39:31 +02:00
parent b170013ce9
commit cf84f4f66c
10 changed files with 141 additions and 9 deletions

View File

@@ -24,6 +24,13 @@ const CommanderDamageButton = styled.button<{ backgroundColor?: string }>`
outline: none;
cursor: pointer;
background-color: ${(props) => props.backgroundColor || 'antiquewhite'};
margin: 0;
user-select: none;
-webkit-touch-callout: none;
-webkit-tap-highlight-color: transparent;
-moz-user-select: -moz-none;
-webkit-user-select: none;
-ms-user-select: none;
`;
const CommanderDamageButtonText = styled.p`
@@ -35,10 +42,15 @@ const CommanderDamageButtonText = styled.p`
font-variant-numeric: tabular-nums;
pointer-events: none;
width: 2rem;
user-select: none;
text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff,
1px 1px 0 #ffffff;
color: #000000;
user-select: none;
-webkit-touch-callout: none;
-webkit-tap-highlight-color: transparent;
-moz-user-select: -moz-none;
-webkit-user-select: none;
-ms-user-select: none;
`;
const VerticalSeperator = styled.div`