ui: fixes

This commit is contained in:
Andras Bacsai 2022-08-31 15:17:18 +02:00
parent be16f76034
commit a690cc5564
3 changed files with 4 additions and 3 deletions

View File

@ -142,8 +142,8 @@
</script>
<form on:submit|preventDefault={handleSubmit} class="grid grid-flow-row gap-2 py-4">
<div class="grid gap-1 lg:grid-flow-col lg:w-96 w-64">
<div class="title font-bold">{$t('forms.configuration')}</div>
<div class="grid gap-1 lg:grid-flow-col">
<div class="title">{$t('forms.configuration')}</div>
{#if $appSession.isAdmin}
<button
type="submit"

View File

@ -150,6 +150,7 @@
<form on:submit|preventDefault={handleSubmit} class="py-4">
<div class="grid gap-1 lg:grid-flow-col pb-5 ">
<div class="title">{$t('general')}</div>
{#if $appSession.isAdmin}
<button class="btn btn-sm bg-sources" type="submit" disabled={loading}
>{loading ? 'Saving...' : 'Save'}</button

View File

@ -85,7 +85,7 @@ label {
@apply inline-block w-64 text-xs tracking-tight md:text-sm;
}
.btn {
@apply text-white text-base min-w-fit h-12;
@apply text-white text-base min-w-fit;
}
a {