mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 06:29:20 +08:00
fix: 工作台页表头移动端竖排自适应
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user