index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-06-08 11:17:40 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-06-08 11:17:40 -0700 |
commit | 1b1a809178ecb4e4ae0f2204c441f4c2921b7785 (patch) | |
tree | 122c25474775fbaa55ddca3120eba5759167703c /public | |
parent | 71f972142b37e4bbe6062ae84272ba1790b415ad (diff) |
WIP: Fix pan-zoom for webkit
Diffstat (limited to 'public')
-rw-r--r-- | public/assets/css/map.css | 4 | ||||
-rw-r--r-- | public/assets/css/style.css | 7 | ||||
-rw-r--r-- | public/assets/images/scenario_template.svg | 4 |
3 files changed, 8 insertions, 7 deletions
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 @@ <image id="counter-grenade" href="counter_grenade.jpg" width="10"/> </defs> - <rect id="background"/> - <g class="gameboard"> + <rect id="background"/> + <rect id="dots" fill="url(#asterisk)"/> <g id="firing-arcs"> |