fix minor mobile UI issues
This commit is contained in:
committed by
Pete Matsyburka
parent
6253e80a70
commit
0a00fe6ab8
@@ -3,9 +3,9 @@
|
||||
<toggle-visible data-element-ids="<%= options.map(&:last).to_json %>" class="relative text-center mt-4 block">
|
||||
<div class="join">
|
||||
<% options.each_with_index do |(label, value), index| %>
|
||||
<span>
|
||||
<span class="<%= '!rounded-s-full' if index.zero? %> btn btn-focus btn-sm join-item md:w-28 normal-case">
|
||||
<%= radio_button_tag 'option', value, value == 'email', class: 'peer hidden', data: { action: 'change:toggle-visible#trigger' } %>
|
||||
<label for="option_<%= value %>" class="<%= '!rounded-s-full' if index.zero? %> btn btn-focus btn-sm join-item w-28 peer-checked:btn-active normal-case">
|
||||
<label for="option_<%= value %>" class="peer-checked:btn-active">
|
||||
<%= label %>
|
||||
</label>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user