site: add a class to search form
This commit is contained in:
parent
005560bd4c
commit
e28a2e2239
2 changed files with 7 additions and 7 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue