Skip to content

Commit 08fc2c7

Browse files
committed
style(ui): max width & padding bottom
Signed-off-by: Neko Ayaka <[email protected]>
1 parent e9a106e commit 08fc2c7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

app/components/Scan.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ function now() {
319319
</script>
320320

321321
<template>
322-
<div items-left flex flex-col gap4>
322+
<div items-left flex flex-col gap-4>
323323
<pre v-if="error" overflow-x-auto text-red v-text="error" />
324324

325325
<div w-full flex flex-wrap gap-2>

app/layouts/default.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div h-full w-full flex flex-col>
2+
<div max-w="full sm:250" mx-auto h-full w-full flex flex-col>
33
<header flex flex-col gap-4 px-4 pb-4 pt-4>
44
<nav flex items-center>
55
<div w-40 flex="~" items-center gap-2 text-4xl>

app/pages/index.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async function onFileChange(file?: File) {
4747
</script>
4848

4949
<template>
50-
<div px="4" flex="~ col" h-full w-full gap-4 py-2>
50+
<div px="4" flex="~ col" h-full w-full gap-4 pb-8 pt-2>
5151
<div flex="~ col sm:row" gap="6 sm:2">
5252
<InputFile @file="onFileChange">
5353
<div text="neutral-600 dark:neutral-400" min-w-46 flex justify-center px-4 py-2>
@@ -73,7 +73,7 @@ async function onFileChange(file?: File) {
7373
</div>
7474
<div
7575
v-if="readPhase === ReadPhase.Ready && data"
76-
h-full w-full flex justify-center pb-8
76+
h-full w-full flex justify-center
7777
>
7878
<Generate
7979
:max-scans-per-second="throttledFps"

app/pages/scan.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const throttledFps = useDebounce(fps, 500)
55
</script>
66

77
<template>
8-
<div px-4 pt-4 space-y-4>
8+
<div px-4 pb-8 pt-2 space-y-4>
99
<div w-full inline-flex flex-row items-center>
1010
<span min-w-40>
1111
<span pr-2 text-zinc-400>Ideal scans</span>

0 commit comments

Comments
 (0)