feat: add opt-in pinch to zoom setting (#1557)
This commit is contained in:
parent
22fea9d53a
commit
4c054a37fd
6 changed files with 17 additions and 0 deletions
|
@ -186,6 +186,11 @@ html {
|
|||
--at-apply: bg-base text-base;
|
||||
}
|
||||
|
||||
html:not(.enable-pinch-to-zoom) body {
|
||||
/* Prevent arbitrary zooming on mobile devices */
|
||||
touch-action: pan-x pan-y;
|
||||
}
|
||||
|
||||
.sparkline--fill {
|
||||
fill: var(--c-primary-active);
|
||||
opacity: 0.2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue