WIP: Fix pan-zoom for webkit

This commit is contained in:
2025-06-16 22:41:31 -07:00
parent 3de614c8ee
commit 7b5fd7590b
8 changed files with 27 additions and 13 deletions

View File

@@ -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;

View File

@@ -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;
}
}

View File

@@ -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">

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB