style: 修复教师端已知的页面滚动和页面过高的样式问题
This commit is contained in:
parent
7e540664e2
commit
3425097b15
@ -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>
|
||||
|
@ -352,7 +352,6 @@ const handleItemMouseLeave = () => {
|
||||
.resources-content {
|
||||
padding: 0;
|
||||
background: #fff;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
@ -165,8 +165,9 @@ const hideSidebar = computed(() => {
|
||||
.course-editor {
|
||||
display: flex;
|
||||
margin-top: 5px;
|
||||
height: 100vh;
|
||||
height: calc(100vh - 180px);
|
||||
background: #f5f5f5;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* 左侧导航 */
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -294,7 +294,7 @@ const goToAddDiscussion = () => {
|
||||
<style scoped>
|
||||
.discussion-management {
|
||||
background: #fff;
|
||||
min-height: 100vh;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* 页面头部 */
|
||||
|
@ -226,7 +226,7 @@
|
||||
.homework-review {
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
min-height: 100vh;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* 顶部筛选区域 */
|
||||
|
@ -371,7 +371,7 @@ const goBack = () => {
|
||||
.homework-review-detail {
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
min-height: 100vh;
|
||||
height: 100%;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
|
@ -151,7 +151,7 @@ const sendReply = () => {
|
||||
.homework-review-view {
|
||||
padding: 30px;
|
||||
background: #fff;
|
||||
min-height: 100vh;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
@ -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%;
|
||||
}
|
||||
|
||||
/* 顶部区域 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user