fix(front): Radio buttons full width in radio card

This commit is contained in:
ArneBo 2025-01-29 19:48:41 +01:00
parent cd69141870
commit c53e90a73c
2 changed files with 2 additions and 4 deletions

View File

@ -85,7 +85,6 @@ const toggleRadio = () => {
:round="playOnly"
class="play-button"
icon="bi-play-fill"
:full="!playOnly"
:square="store.state.auth.authenticated && type === 'custom'"
@click="toggleRadio"
>

View File

@ -109,12 +109,11 @@ const customRadioId = computed(() => props.customRadio?.id ?? null)
:type="type"
:custom-radio-id="customRadioId"
:object-id="objectId"
full
/>
<Spacer v-if="store.state.auth.authenticated && type === 'custom' && radio.user.id === store.state.auth.profile?.id" h grow />
<Button
v-if="store.state.auth.authenticated && type === 'custom' && radio.user.id === store.state.auth.profile?.id"
primary
full
secondary
:to="{name: 'library.radios.edit', params: {id: customRadioId }}"
>
{{ t('components.radios.Card.button.edit') }}