Skip to content

Commit 582d61a

Browse files
author
niwla23
committed
make it look less bad on very small and very big screens
1 parent d6b204c commit 582d61a

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

components/Item.vue

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,11 @@
99
>
1010
<div
1111
v-hammer:tap="handleClick"
12-
class="
13-
h-full
14-
w-full
15-
flex flex-col
16-
justify-center
17-
font-sans
18-
text-white text-center
19-
"
12+
class="h-full w-full flex flex-col justify-center font-sans text-white text-center"
2013
>
2114
<div class="leading-none">
22-
<div class="text-4xl">{{ label }}</div>
23-
<div class="text-6xl font-bold">
15+
<div class="text-2xl md:text-4xl xl:text-5xl">{{ label }}</div>
16+
<div class="text-4xl md:text-6xl xl:text-8xl font-bold">
2417
<animated-number
2518
v-if="type === 'Number' || type === 'Dimmer'"
2619
:value="value"

0 commit comments

Comments
 (0)