mirror of
https://github.com/unraid/api.git
synced 2026-01-06 08:39:54 -06:00
refactor: center registration item without label
This commit is contained in:
@@ -25,13 +25,16 @@ const evenBgColor = computed(() => {
|
||||
error && 'text-white bg-unraid-red',
|
||||
warning && 'text-black bg-yellow-100',
|
||||
]"
|
||||
class="text-16px p-12px grid grid-cols-1 gap-4px sm:px-20px sm:grid-cols-3 sm:gap-16px items-start rounded"
|
||||
class="text-16px p-12px grid grid-cols-1 gap-4px sm:px-20px sm:grid-cols-5 sm:gap-16px items-start rounded"
|
||||
>
|
||||
<dt class="font-semibold flex flex-row justify-start items-center gap-x-8px">
|
||||
<dt v-if="label" class="font-semibold sm:col-span-2 flex flex-row justify-start items-center gap-x-8px">
|
||||
<ShieldExclamationIcon v-if="error" class="w-16px h-16px fill-current" />
|
||||
<span>{{ label }}</span>
|
||||
<span v-html="label" />
|
||||
</dt>
|
||||
<dd class="leading-normal sm:col-span-2">
|
||||
<dd
|
||||
class="leading-normal sm:col-span-3"
|
||||
:class="!label && 'sm:col-start-2'"
|
||||
>
|
||||
<span v-if="text" class="select-all" :class="!error ? 'opacity-75' : ''">
|
||||
{{ text }}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user