fix(mobile): improve usage and pool management layouts

- Fix pool account batch dialog scrolling on mobile
- Rework usage records mobile filters into clearer rows
- Align user filter styling with other select filters
- Improve request detail drawer metric layout on mobile
This commit is contained in:
AAEE86
2026-05-27 09:20:10 +08:00
parent cf8372c8cb
commit 049f26c03b
5 changed files with 82 additions and 61 deletions
@@ -3,7 +3,7 @@
<Select
v-model="selectedPreset"
>
<SelectTrigger class="h-8 w-32 text-xs border-border/60">
<SelectTrigger :class="['h-8 w-32 text-xs border-border/60', presetTriggerClass]">
<SelectValue placeholder="选择时间段" />
</SelectTrigger>
<SelectContent :searchable="false">
@@ -91,6 +91,7 @@ const props = withDefaults(defineProps<{
showGranularity?: boolean
allowHourly?: boolean
presetOptions?: SelectablePreset[]
presetTriggerClass?: string
}>(), {
presetOptions: () => ['today', 'yesterday', 'last7days', 'last30days', 'last90days', 'custom']
})