From 02290ae6b9f030a2cc3e6c69c199f9d72ea33ead Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Tue, 24 May 2022 12:06:46 +1000
Subject: Scale/recenter images in compound-images

---
 src/components/Tile.vue | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/components/Tile.vue')

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){
-- 
cgit v1.2.3

