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/assets/css | |
parent | 71f972142b37e4bbe6062ae84272ba1790b415ad (diff) |
WIP: Fix pan-zoom for webkit
Diffstat (limited to 'public/assets/css')
-rw-r--r-- | public/assets/css/map.css | 4 | ||||
-rw-r--r-- | public/assets/css/style.css | 7 |
2 files changed, 6 insertions, 5 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; + } } |