aboutsummaryrefslogtreecommitdiff
path: root/src/components/TileImg.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-03-23 18:47:51 +1100
committerTerry Truong <terry06890@gmail.com>2022-03-23 18:47:51 +1100
commit0b736a9df79b5ab88e40858e5f94a32d141a76ba (patch)
tree12892bf25e520880c957c1cfd7b32cb6794c99a6 /src/components/TileImg.vue
parent64b597f0b615dfcf964450bac4a6506704a2b931 (diff)
Tweak parent-bar styling
Diffstat (limited to 'src/components/TileImg.vue')
-rw-r--r--src/components/TileImg.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/TileImg.vue b/src/components/TileImg.vue
index 867b57a..be6704c 100644
--- a/src/components/TileImg.vue
+++ b/src/components/TileImg.vue
@@ -22,6 +22,8 @@ export default defineComponent({
border: '1px black solid',
width: this.tileSz + 'px',
height: this.tileSz + 'px',
+ minWidth: this.tileSz + 'px',
+ minHeight: this.tileSz + 'px',
backgroundImage:
'linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0) 40%),' +
'url(\'/img/' + this.layoutNode.tolNode.name.replaceAll('\'', '\\\'') + '.png\')',