Remove labels from order buttons on mobile

This commit is contained in:
Claudio Ortolina
2025-11-25 22:23:19 +00:00
parent 0e1dfe3e42
commit dec8fa94b6
2 changed files with 4 additions and 4 deletions
@@ -39,7 +39,7 @@
aria-hidden="true" aria-hidden="true"
data-slot="icon" data-slot="icon"
/> />
{gettext("Purchase")} <span class="hidden sm:inline">{gettext("Purchase")}</span>
</.button> </.button>
<.button <.button
patch={order_path(@record_list_params, :alphabetical)} patch={order_path(@record_list_params, :alphabetical)}
@@ -49,7 +49,7 @@
]} ]}
> >
<.icon name="hero-user-solid" class="icon" aria-hidden="true" data-slot="icon" /> <.icon name="hero-user-solid" class="icon" aria-hidden="true" data-slot="icon" />
{gettext("A->Z")} <span class="hidden sm:inline">{gettext("A->Z")}</span>
</.button> </.button>
</.button_group> </.button_group>
@@ -25,7 +25,7 @@
]} ]}
> >
<.icon name="hero-star" class="icon" aria-hidden="true" data-slot="icon" /> <.icon name="hero-star" class="icon" aria-hidden="true" data-slot="icon" />
{gettext("Insertion")} <span class="hidden sm:inline">{gettext("Insertion")}</span>
</.button> </.button>
<.button <.button
patch={order_path(@record_list_params, :alphabetical)} patch={order_path(@record_list_params, :alphabetical)}
@@ -36,7 +36,7 @@
]} ]}
> >
<.icon name="hero-user-solid" class="icon" aria-hidden="true" data-slot="icon" /> <.icon name="hero-user-solid" class="icon" aria-hidden="true" data-slot="icon" />
{gettext("A->Z")} <span class="hidden sm:inline">{gettext("A->Z")}</span>
</.button> </.button>
</.button_group> </.button_group>