WIP: Fix pan-zoom for webkit
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 |
Reference in New Issue
Block a user