Skip to content

Commit 263e483

Browse files
fix choice and choice offline badge height (#888)
Co-authored-by: Robson Tenório <[email protected]>
1 parent b2a1d7c commit 263e483

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/View/Components/Choices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ public function render(): View|Closure|string
287287
</div>
288288
@else
289289
<template x-for="(option, index) in selectedOptions" :key="index">
290-
<span class="mary-choices-element cursor-pointer badge badge-soft m-0.5 !inline-block">
290+
<span class="mary-choices-element cursor-pointer badge badge-soft m-0.5 !inline-block !h-auto">
291291
{{-- SELECTION SLOT --}}
292292
@if($selection)
293293
<span x-html="document.getElementById('selection-{{ $uuid . '-\' + option.'. $optionValue }}).innerHTML"></span>

src/View/Components/ChoicesOffline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public function render(): View|Closure|string
294294
</div>
295295
@else
296296
<template x-for="(option, index) in selectedOptions" :key="index">
297-
<span class="mary-choices-element cursor-pointer badge badge-soft m-0.5 !inline-block">
297+
<span class="mary-choices-element cursor-pointer badge badge-soft m-0.5 !inline-block !h-auto">
298298
{{-- SELECTION SLOT --}}
299299
@if($selection)
300300
<span x-html="document.getElementById('selection-{{ $uuid . '-\' + option.'. $optionValue }}).innerHTML"></span>

0 commit comments

Comments
 (0)