aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/Tile.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Tile.vue b/src/components/Tile.vue
index 73a5c92..4e07113 100644
--- a/src/components/Tile.vue
+++ b/src/components/Tile.vue
@@ -425,9 +425,10 @@ export default defineComponent({
'url(\'/img/' + this.tolNode.imgName![idx]!.replaceAll('\'', '\\\'') + '\')' :
'none',
backgroundColor: '#1c1917',
- backgroundSize: 'cover',
+ backgroundSize: '125%',
borderRadius: 'inherit',
clipPath: idx == 0 ? 'polygon(0 0, 100% 0, 0 100%)' : 'polygon(100% 0, 0 100%, 100% 100%)',
+ backgroundPosition: idx == 0 ? 'right bottom' : 'left top',
};
},
onTransitionEnd(evt: Event){