diff options
Diffstat (limited to 'src/components/TileImg.vue')
| -rw-r--r-- | src/components/TileImg.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/TileImg.vue b/src/components/TileImg.vue index c03ba84..79a8e7b 100644 --- a/src/components/TileImg.vue +++ b/src/components/TileImg.vue @@ -22,12 +22,12 @@ export default defineComponent({ border: '1px black solid', width: this.tileSz + 'px', height: this.tileSz + 'px', - backgroundImage: + 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\')', backgroundSize: 'cover', borderRadius: this.options.borderRadius + 'px', - boxShadow: (this.highlight ? this.options.shadowHighlight : this.options.shadowNormal), + boxShadow: this.highlight ? this.options.shadowHighlight : this.options.shadowNormal, }; }, headerStyles(): Record<string,string> { |
