fix(admin): 部门页根高度内联化,外层滚动条消除、两栏各自独立滚动
This commit is contained in:
1 parent
eb468d3c78
commit
1b3b63df24
1 file changed
+5
-1
@@ -106,7 +106,11 @@ onMounted(() => {
|
||||
|
||||
<template>
|
||||
<ElConfigProvider :locale="elementLocale">
|
||||
<section class="admin-table-section admin-dept-page">
|
||||
<!-- 高度/布局写内联样式:外层内容列不再出现整页滚动条,滚动只发生在左右两栏各自内部 -->
|
||||
<section
|
||||
class="admin-table-section admin-dept-page"
|
||||
style="height: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden;"
|
||||
>
|
||||
<header class="admin-table-header admin-table-header--stacked">
|
||||
<div>
|
||||
<h2 class="section-title">{{ t('admin.dept.title') }}</h2>
|
||||
|
||||
Reference in new issue
Block a user