Skip to content

Commit 70dcd31

Browse files
committed
Compact form controls
1 parent db33150 commit 70dcd31

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/css/tailwind.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
}
323323

324324
.core-button-shape {
325-
@apply p-2 rounded inline-flex gap-3 items-center justify-center;
325+
@apply px-2 py-1 rounded inline-flex gap-2 items-center justify-center;
326326
}
327327

328328
/* utils */
@@ -373,6 +373,6 @@
373373
}
374374

375375
.sidebar-link {
376-
@apply flex items-center justify-between rounded p-2 hover:bg-layer-hover focus:outline-none focus:ring;
376+
@apply flex items-center justify-between rounded px-2 py-1 hover:bg-layer-hover focus:outline-none focus:ring;
377377
}
378378
}

components/CoreInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ onMounted(() => {
108108
<label class="cursor-pointer flex flex-col gap-1 group focus-within:cursor-text">
109109
<small v-if="label">{{ label }}</small>
110110
<div class="flex -m-0.5 p-0.5 rounded group-focus-within:ring-2 ring-opacity-25">
111-
<div class="flex flex-col flex-grow overflow-hidden p-2 relative rounded border border-layer">
111+
<div class="flex flex-col flex-grow overflow-hidden px-2 py-1 relative rounded border border-layer">
112112
<span v-if="private" class="absolute flex inset-0 items-center justify-center z-10 group-focus-within:opacity-0 group-focus-within:-z-10 bg-layer">
113113
<span class="flex gap-2 items-center">
114114
<svg height="1.25em" width="1.25em" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">

0 commit comments

Comments
 (0)