diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-03-06 19:40:26 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-03-06 20:24:26 +1100 |
| commit | 8e2e6bb7eeee4352399e98b74d1fd8648ef6c781 (patch) | |
| tree | 3fb9320af9a3ed1e4156b15514b7b9fedf876168 /src/components | |
| parent | 459ccef76902287ed0f8df2faf91b99bda82b091 (diff) | |
For groups of expanded tiles, shift empty space to bottom/right-most cells
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Tile.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Tile.vue b/src/components/Tile.vue index 5c78f5a..1b5c2b7 100644 --- a/src/components/Tile.vue +++ b/src/components/Tile.vue @@ -51,7 +51,7 @@ export default { :style="{position: 'absolute', left: x+'px', top: y+'px', width: width+'px', height: height+'px', zIndex: zIdx}" class="transition-[left,top,width,height] duration-300 ease-out border border-stone-900 bg-white overflow-hidden"> <div v-if="tree.children.length == 0" - :style="{backgroundImage: 'url(/src/assets/' + tree.tolNode.name + '.jpg)'}" + :style="{backgroundImage: 'url(\'/src/assets/' + tree.tolNode.name + '.jpg\')'}" class="hover:cursor-pointer w-full h-full bg-cover" @click="onImgClick" /> <div v-else> |
