fix(frontend): 统一所有管理页面搜索框宽度为 w-full sm:w-64
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<SearchInput
|
<SearchInput
|
||||||
:model-value="searchQuery"
|
:model-value="searchQuery"
|
||||||
:placeholder="t('admin.accounts.searchAccounts')"
|
:placeholder="t('admin.accounts.searchAccounts')"
|
||||||
class="w-64"
|
class="w-full sm:w-64"
|
||||||
@update:model-value="$emit('update:searchQuery', $event)"
|
@update:model-value="$emit('update:searchQuery', $event)"
|
||||||
@search="$emit('change')"
|
@search="$emit('change')"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="flex flex-col justify-between gap-4 lg:flex-row lg:items-start">
|
<div class="flex flex-col justify-between gap-4 lg:flex-row lg:items-start">
|
||||||
<!-- Left: fuzzy search + filters (can wrap to multiple lines) -->
|
<!-- Left: fuzzy search + filters (can wrap to multiple lines) -->
|
||||||
<div class="flex flex-1 flex-wrap items-center gap-3">
|
<div class="flex flex-1 flex-wrap items-center gap-3">
|
||||||
<div class="relative w-full sm:w-72 lg:w-80">
|
<div class="relative w-full sm:w-64">
|
||||||
<svg
|
<svg
|
||||||
class="absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-gray-400 dark:text-gray-500"
|
class="absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-gray-400 dark:text-gray-500"
|
||||||
fill="none"
|
fill="none"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<!-- Left: Fuzzy search + filters (wrap to multiple lines) -->
|
<!-- Left: Fuzzy search + filters (wrap to multiple lines) -->
|
||||||
<div class="flex flex-1 flex-wrap items-center gap-3">
|
<div class="flex flex-1 flex-wrap items-center gap-3">
|
||||||
<!-- Search -->
|
<!-- Search -->
|
||||||
<div class="relative w-full sm:flex-1 sm:min-w-[14rem] sm:max-w-md">
|
<div class="relative w-full sm:w-64">
|
||||||
<svg
|
<svg
|
||||||
class="absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-gray-400 dark:text-gray-500"
|
class="absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-gray-400 dark:text-gray-500"
|
||||||
fill="none"
|
fill="none"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<div class="flex flex-1 flex-wrap items-center gap-3">
|
<div class="flex flex-1 flex-wrap items-center gap-3">
|
||||||
<!-- User Search -->
|
<!-- User Search -->
|
||||||
<div
|
<div
|
||||||
class="relative w-full sm:flex-1 sm:min-w-[14rem] sm:max-w-md"
|
class="relative w-full sm:w-64"
|
||||||
data-filter-user-search
|
data-filter-user-search
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
|
|||||||
Reference in New Issue
Block a user