Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets')
-rw-r--r--public/assets/css/map.css4
-rw-r--r--public/assets/css/style.css7
-rw-r--r--public/assets/images/scenario_template.svg4
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">