fix(front): Radio buttons full width in radio card
This commit is contained in:
parent
cd69141870
commit
c53e90a73c
|
@ -85,7 +85,6 @@ const toggleRadio = () => {
|
||||||
:round="playOnly"
|
:round="playOnly"
|
||||||
class="play-button"
|
class="play-button"
|
||||||
icon="bi-play-fill"
|
icon="bi-play-fill"
|
||||||
:full="!playOnly"
|
|
||||||
:square="store.state.auth.authenticated && type === 'custom'"
|
:square="store.state.auth.authenticated && type === 'custom'"
|
||||||
@click="toggleRadio"
|
@click="toggleRadio"
|
||||||
>
|
>
|
||||||
|
|
|
@ -109,12 +109,11 @@ const customRadioId = computed(() => props.customRadio?.id ?? null)
|
||||||
:type="type"
|
:type="type"
|
||||||
:custom-radio-id="customRadioId"
|
:custom-radio-id="customRadioId"
|
||||||
:object-id="objectId"
|
:object-id="objectId"
|
||||||
|
full
|
||||||
/>
|
/>
|
||||||
<Spacer v-if="store.state.auth.authenticated && type === 'custom' && radio.user.id === store.state.auth.profile?.id" h grow />
|
|
||||||
<Button
|
<Button
|
||||||
v-if="store.state.auth.authenticated && type === 'custom' && radio.user.id === store.state.auth.profile?.id"
|
v-if="store.state.auth.authenticated && type === 'custom' && radio.user.id === store.state.auth.profile?.id"
|
||||||
primary
|
secondary
|
||||||
full
|
|
||||||
:to="{name: 'library.radios.edit', params: {id: customRadioId }}"
|
:to="{name: 'library.radios.edit', params: {id: customRadioId }}"
|
||||||
>
|
>
|
||||||
{{ t('components.radios.Card.button.edit') }}
|
{{ t('components.radios.Card.button.edit') }}
|
||||||
|
|
Loading…
Reference in New Issue