fix: 工作台页表头移动端竖排自适应

This commit is contained in:
小蟑螂
2026-05-22 02:52:41 +08:00
parent 49407ef9ea
commit 3b10d8bae1
@@ -572,15 +572,38 @@ onUnmounted(() => {
<style scoped>
:deep(.workbench-page-header) {
align-items: flex-start;
align-items: stretch;
flex-direction: column;
gap: 10px;
}
@media (min-width: 640px) {
:deep(.workbench-page-header) {
flex-direction: row;
align-items: center;
}
}
:deep(.workbench-page-header > div:first-child) {
width: 100%;
}
@media (min-width: 640px) {
:deep(.workbench-page-header > div:first-child) {
width: auto;
}
}
:deep(.workbench-page-header > div:last-child) {
width: 100%;
}
@media (min-width: 640px) {
:deep(.workbench-page-header > div:last-child) {
width: auto;
}
}
:deep(.workbench-tabs.ant-tabs .ant-tabs-nav) {
position: sticky;
top: 0;