style: 修复教师端已知的页面滚动和页面过高的样式问题

This commit is contained in:
yuk255 2025-09-16 19:35:34 +08:00
parent 7e540664e2
commit 3425097b15
9 changed files with 8 additions and 11 deletions

View File

@ -254,9 +254,7 @@ import CourseCategory from './CourseComponents/CourseCategory.vue'
.content-container {
flex: 1;
padding-top: 5px; /* 进一步减少padding */
min-height: 100vh;
box-sizing: border-box;
max-width: calc(100vw - 274px - 21px); /* 更精确的宽度计算 */
overflow-x: hidden; /* 防止水平滚动 */
}
</style>

View File

@ -352,7 +352,6 @@ const handleItemMouseLeave = () => {
.resources-content {
padding: 0;
background: #fff;
min-height: 100vh;
width: 100%;
}

View File

@ -165,8 +165,9 @@ const hideSidebar = computed(() => {
.course-editor {
display: flex;
margin-top: 5px;
height: 100vh;
height: calc(100vh - 180px);
background: #f5f5f5;
overflow: hidden;
}
/* 左侧导航 */

View File

@ -13,8 +13,7 @@ import MyResources from '@/components/admin/MyResources.vue'
.courseware-management {
width: 100%;
background: #fff;
overflow: auto;
min-height: 100vh;
height: 100%;;
display: flex;
flex-direction: column;
}

View File

@ -294,7 +294,7 @@ const goToAddDiscussion = () => {
<style scoped>
.discussion-management {
background: #fff;
min-height: 100vh;
height: 100%;
}
/* 页面头部 */

View File

@ -226,7 +226,7 @@
.homework-review {
width: 100%;
background: #fff;
min-height: 100vh;
height: 100%;
}
/* 顶部筛选区域 */

View File

@ -371,7 +371,7 @@ const goBack = () => {
.homework-review-detail {
width: 100%;
background: #fff;
min-height: 100vh;
height: 100%;
padding-left: 20px;
}

View File

@ -151,7 +151,7 @@ const sendReply = () => {
.homework-review-view {
padding: 30px;
background: #fff;
min-height: 100vh;
height: 100%;
margin: 0 auto;
}

View File

@ -213,7 +213,7 @@ console.log('CourseStatistics component loaded with ECharts and Tab functionalit
<style scoped>
.statistics-management {
background: #fff;
min-height: 100vh;
height: 100%;
}
/* 顶部区域 */