site: add a class to search form

This commit is contained in:
Lucas Gabriel Vuotto 2025-04-28 13:43:21 +00:00
parent 005560bd4c
commit e28a2e2239
2 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@
<%= form_for "list_media" =>
name => "search",
class => "layout-flex-row" =>
class => "layout-flex-row suggestions" =>
begin %>
<div class="layout-flex-item-fullsize position-relative"
x-data="tagsSuggestions('<%= param "tags" %>')"
@ -17,7 +17,7 @@
@keydown.up.prevent="previousItem"
@keydown.down.prevent="nextItem"
@keydown.escape="open = false">
<ul class="suggestions"
<ul
x-ref="suggestions"
x-cloak x-show="open && items.length > 0">
<template x-for="(item, index) in sortedItems" :key="item.display">