Skip to content

Commit 8b33dfe

Browse files
author
Simon he
committed
💄
1 parent 732228c commit 8b33dfe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/components/MatchingPicture.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function newGame() {
158158
</script>
159159

160160
<template>
161-
<div m-t-5 flex="~ gap-5" justify-center>
161+
<div m-y-5 flex="~ gap-5" justify-center>
162162
<button btn @click="reset">Rest</button>
163163
<button btn @click="newGame">New Game</button>
164164
</div>

‎src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ export const ratio = ref<number>(0)
77
export const n = ref<number>(4)
88
export const loading = ref<boolean>(true)
99
export const emptyFlag = "./empty.png";
10-
export const height = computed(() => ratio.value * 5);
10+
export const height = computed(() => 1 / ratio.value * 5);
1111

0 commit comments

Comments
 (0)