mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-13 01:02:25 -06:00
fix(ui): hide redundant edit pencil on mobile in admin Models list (#27178)
On narrow viewports the admin Models list rows previously collapsed into unusable vertical stacks; the Models page redesign on dev has since absorbed the truncation fixes this branch carried (min-w-0 chain, real truncate on the name, shrink-0 action group, inline access label). The one remaining gap: the per-row edit pencil duplicates the row tap (both open the model editor) while costing scarce horizontal space on mobile. Hide it below the sm breakpoint; it remains on sm+ screens.
This commit is contained in:
@@ -1094,7 +1094,7 @@
|
||||
{/if}
|
||||
|
||||
<button
|
||||
class="self-center w-fit text-sm p-1.5 dark:text-gray-300 dark:hover:text-white hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
|
||||
class="hidden sm:flex self-center w-fit text-sm p-1.5 dark:text-gray-300 dark:hover:text-white hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
|
||||
type="button"
|
||||
on:click={() => {
|
||||
selectedModelId = model.id;
|
||||
|
||||
Reference in New Issue
Block a user