Add .btn-area-1 for btn-areas with one button

This commit is contained in:
Jason Streifling 2024-09-11 17:18:11 +02:00
parent ff0e229f03
commit 0aa479763d
2 changed files with 5 additions and 1 deletions

View File

@ -19,6 +19,10 @@ textarea {
@apply bg-slate-50 dark:bg-slate-950 border border-slate-200 dark:border-slate-800 h-32 rounded-md; @apply bg-slate-50 dark:bg-slate-950 border border-slate-200 dark:border-slate-800 h-32 rounded-md;
} }
.btn-area-1 {
@apply grid grid-cols-1 gap-x-4 gap-y-1 mt-4;
}
.btn-area { .btn-area {
@apply grid grid-cols-1 md:grid-cols-2 gap-x-4 gap-y-1 mt-4; @apply grid grid-cols-1 md:grid-cols-2 gap-x-4 gap-y-1 mt-4;
} }

View File

@ -25,7 +25,7 @@
</div> </div>
</div> </div>
<div class="btn-area"> <div class="btn-area-1">
<input class="action-btn" type="submit" value="Anlegen" hx-post="/user/add-first" hx-target="#page-content" /> <input class="action-btn" type="submit" value="Anlegen" hx-post="/user/add-first" hx-target="#page-content" />
</div> </div>
</form> </form>