scale log img

This commit is contained in:
einhornimmond 2025-02-16 18:45:45 +01:00
parent c160c39378
commit ce08b2d843
2 changed files with 4 additions and 2 deletions

View File

@ -93,7 +93,7 @@ const validationSchema = object({
.required(),
description: string().nullable().optional(),
newUserToSpace: boolean().optional(),
logoUrl: string().url('Logo URL must be a valid URL.').nullable().optional(),
logoUrl: string().url('Logo URL must be a valid URL.').max(255).nullable().optional(),
})
function updateField(value, name) {

View File

@ -4,7 +4,9 @@
<BCol cols="3">{{ item.name }}</BCol>
<BCol cols="2">{{ item.alias }}</BCol>
<BCol cols="2">{{ item.newUserToSpace }}</BCol>
<BCol cols="3"><img :src="item.logoUrl" :alt="item.logoUrl" /></BCol>
<BCol cols="3" class="me-2">
<img class="img-fluid" :src="item.logoUrl" :alt="item.logoUrl" />
</BCol>
<BCol cols="1">
<BButton v-b-tooltip.hover variant="danger" :title="$t('delete')" @click.stop="deleteItem">
<i class="fas fa-trash-alt"></i>