Web Dev Solutions

Catalin Mititiuc

From 1b1a809178ecb4e4ae0f2204c441f4c2921b7785 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Sat, 8 Jun 2024 11:17:40 -0700 Subject: WIP: Fix pan-zoom for webkit --- public/assets/css/map.css | 4 ---- public/assets/css/style.css | 7 ++++++- public/assets/images/scenario_template.svg | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) (limited to 'public/assets') diff --git a/public/assets/css/map.css b/public/assets/css/map.css index 476560a..3d532ed 100644 --- a/public/assets/css/map.css +++ b/public/assets/css/map.css @@ -210,10 +210,6 @@ g.selected use.primary-weapon { fill: red; } -.gameboard { - transform: translate(19px, 31px) scale(4); -} - /* Inradius and circumradius values come from the hexagon */ .grid, g.start-locations { --inradius: 8.66px; diff --git a/public/assets/css/style.css b/public/assets/css/style.css index 582e118..649b425 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -155,7 +155,7 @@ button.set-firing-arc img { } .soldier-record { - display: inline-block; + display: block; position: relative; white-space: nowrap; background-color: white; @@ -260,6 +260,7 @@ div#content { max-height: 100vh; flex-direction: column; position: relative; + min-width: 340px; } #content > div:first-of-type { @@ -452,4 +453,8 @@ div#dice { #record-sheet > div:last-of-type > div { margin-left: 1px; } + + div#content { + min-width: 680px; + } } diff --git a/public/assets/images/scenario_template.svg b/public/assets/images/scenario_template.svg index 8f8b5f7..3a6045a 100644 --- a/public/assets/images/scenario_template.svg +++ b/public/assets/images/scenario_template.svg @@ -45,9 +45,9 @@ - - + + -- cgit v1.2.3