style: adjust search flex properties for better layout

This commit is contained in:
pa
2025-09-23 02:09:22 +09:00
committed by Natsumi
parent 24ea1887b7
commit 3480c2e2e6
4 changed files with 4 additions and 5 deletions

View File

@@ -23,7 +23,7 @@
v-model="feedTable.search"
:placeholder="t('view.feed.search_placeholder')"
clearable
style="flex: none; width: 150px; margin-left: 10px"
style="flex: 0.4; margin-left: 10px"
@keyup.enter="feedTableLookup"
@change="feedTableLookup"></el-input>
</div>

View File

@@ -62,7 +62,7 @@
multiple
clearable
collapse-tags
style="flex: none; width: 200px; margin: 0 10px"
style="flex: 0.3; margin: 0 10px"
:placeholder="t('view.friend_list.filter_placeholder')"
@change="friendsListSearchChange">
<el-option

View File

@@ -25,7 +25,7 @@
<el-input
v-model="friendLogTable.filters[1].value"
:placeholder="t('view.friend_log.search_placeholder')"
style="flex: none; width: 150px; margin-left: 10px" />
style="flex: 0.4; margin-left: 10px" />
</div>
<DataTable v-bind="friendLogTable">

View File

@@ -1,6 +1,5 @@
<template>
<div v-show="menuActiveIndex === 'gameLog'" class="x-container">
<!-- 工具栏 -->
<div style="margin: 0 0 10px; display: flex; align-items: center">
<div style="flex: none; margin-right: 10px; display: flex; align-items: center">
<el-tooltip placement="bottom" :content="t('view.feed.favorites_only_tooltip')">
@@ -36,7 +35,7 @@
v-model="gameLogTable.search"
:placeholder="t('view.game_log.search_placeholder')"
clearable
style="flex: none; width: 150px; margin-left: 10px"
style="flex: 0.4; margin-left: 10px"
@keyup.enter="gameLogTableLookup"
@change="gameLogTableLookup"></el-input>
</div>