ui: fixes
This commit is contained in:
parent
be16f76034
commit
a690cc5564
@ -142,8 +142,8 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<form on:submit|preventDefault={handleSubmit} class="grid grid-flow-row gap-2 py-4">
|
<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="grid gap-1 lg:grid-flow-col">
|
||||||
<div class="title font-bold">{$t('forms.configuration')}</div>
|
<div class="title">{$t('forms.configuration')}</div>
|
||||||
{#if $appSession.isAdmin}
|
{#if $appSession.isAdmin}
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
|
@ -150,6 +150,7 @@
|
|||||||
<form on:submit|preventDefault={handleSubmit} class="py-4">
|
<form on:submit|preventDefault={handleSubmit} class="py-4">
|
||||||
<div class="grid gap-1 lg:grid-flow-col pb-5 ">
|
<div class="grid gap-1 lg:grid-flow-col pb-5 ">
|
||||||
<div class="title">{$t('general')}</div>
|
<div class="title">{$t('general')}</div>
|
||||||
|
|
||||||
{#if $appSession.isAdmin}
|
{#if $appSession.isAdmin}
|
||||||
<button class="btn btn-sm bg-sources" type="submit" disabled={loading}
|
<button class="btn btn-sm bg-sources" type="submit" disabled={loading}
|
||||||
>{loading ? 'Saving...' : 'Save'}</button
|
>{loading ? 'Saving...' : 'Save'}</button
|
||||||
|
@ -85,7 +85,7 @@ label {
|
|||||||
@apply inline-block w-64 text-xs tracking-tight md:text-sm;
|
@apply inline-block w-64 text-xs tracking-tight md:text-sm;
|
||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
@apply text-white text-base min-w-fit h-12;
|
@apply text-white text-base min-w-fit;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
Loading…
Reference in New Issue
Block a user