"git@web.lueluesay.top:chenxi/sub2api.git" did not exist on "ab4e8b2cf009c7067151b02adaa7bcd27865c8c0"
Commit 5b57313c authored by ianshaw's avatar ianshaw
Browse files

fix(frontend): 统一所有管理页面搜索框宽度为 w-full sm:w-64

parent c52c47e1
...@@ -3,7 +3,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment