mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-27 06:39:24 +00:00
bigger boy
This commit is contained in:
parent
39850906fd
commit
7ce06bbcb1
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
// Counter-scale to maintain same visual size
|
// Counter-scale to maintain same visual size
|
||||||
const isMobile = window.innerWidth <= 768 || /Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
const isMobile = window.innerWidth <= 768 || /Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
||||||
const baseScale = isMobile ? 2 : 1.1; // 180% bigger on mobile (1 + 1.8 = 2.8, but 1.98 accounts for counter-scaling)
|
const baseScale = isMobile ? 3 : 1.1; // 180% bigger on mobile (1 + 1.8 = 2.8, but 1.98 accounts for counter-scaling)
|
||||||
const navScale = baseScale / currentDPR;
|
const navScale = baseScale / currentDPR;
|
||||||
// Dropdowns at 100% (no additional scaling)
|
// Dropdowns at 100% (no additional scaling)
|
||||||
const dropdownScale = 1.0;
|
const dropdownScale = 1.0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user