mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 06:29:20 +08:00
fix: 工作台窄屏工具区改为横向滚动避免竖排占高
This commit is contained in:
@@ -127,9 +127,9 @@ const customDateRange = ref<[dayjs.Dayjs, dayjs.Dayjs] | undefined>([
|
|||||||
dateRange.value[1],
|
dateRange.value[1],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
/** 触发器:灰底外框 + 白底内面板(与改前一致) */
|
/** 触发器:灰底外框 + 白底内面板(窄屏也保持横向,避免 w-full 整行换行) */
|
||||||
const toolbarShellClass =
|
const toolbarShellClass =
|
||||||
'flex w-full flex-col gap-2 rounded-2xl border border-slate-200 bg-slate-200/50 p-1.5 sm:w-auto sm:flex-row sm:items-center sm:gap-2 dark:border-[hsl(240deg_3.7%_22%)] dark:bg-[hsl(240deg_3.7%_15.9%/30%)]';
|
'flex w-auto shrink-0 flex-row items-center gap-2 rounded-2xl border border-slate-200 bg-slate-200/50 p-1.5 dark:border-[hsl(240deg_3.7%_22%)] dark:bg-[hsl(240deg_3.7%_15.9%/30%)]';
|
||||||
|
|
||||||
const toolbarPanelClass =
|
const toolbarPanelClass =
|
||||||
'rounded-xl bg-white dark:bg-[hsl(222.34deg_10.43%_14%)]';
|
'rounded-xl bg-white dark:bg-[hsl(222.34deg_10.43%_14%)]';
|
||||||
@@ -862,7 +862,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<div
|
<div
|
||||||
class="workbench-header-extra flex w-full max-w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center sm:gap-2"
|
class="workbench-header-extra flex w-full max-w-full flex-nowrap items-center gap-2 overflow-x-auto overscroll-x-contain [-ms-overflow-style:none] [scrollbar-width:none] sm:w-auto sm:overflow-visible [&::-webkit-scrollbar]:hidden"
|
||||||
>
|
>
|
||||||
<BiDataHealthToolbarButton
|
<BiDataHealthToolbarButton
|
||||||
ref="biHealthRef"
|
ref="biHealthRef"
|
||||||
|
|||||||
Reference in New Issue
Block a user