style: 修复教师端已知的页面滚动和页面过高的样式问题
This commit is contained in:
parent
7e540664e2
commit
3425097b15
@ -254,9 +254,7 @@ import CourseCategory from './CourseComponents/CourseCategory.vue'
|
|||||||
.content-container {
|
.content-container {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding-top: 5px; /* 进一步减少padding */
|
padding-top: 5px; /* 进一步减少padding */
|
||||||
min-height: 100vh;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
max-width: calc(100vw - 274px - 21px); /* 更精确的宽度计算 */
|
|
||||||
overflow-x: hidden; /* 防止水平滚动 */
|
overflow-x: hidden; /* 防止水平滚动 */
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -352,7 +352,6 @@ const handleItemMouseLeave = () => {
|
|||||||
.resources-content {
|
.resources-content {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
min-height: 100vh;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,8 +165,9 @@ const hideSidebar = computed(() => {
|
|||||||
.course-editor {
|
.course-editor {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
height: 100vh;
|
height: calc(100vh - 180px);
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 左侧导航 */
|
/* 左侧导航 */
|
||||||
|
@ -13,8 +13,7 @@ import MyResources from '@/components/admin/MyResources.vue'
|
|||||||
.courseware-management {
|
.courseware-management {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
overflow: auto;
|
height: 100%;;
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
@ -294,7 +294,7 @@ const goToAddDiscussion = () => {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.discussion-management {
|
.discussion-management {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
min-height: 100vh;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 页面头部 */
|
/* 页面头部 */
|
||||||
|
@ -226,7 +226,7 @@
|
|||||||
.homework-review {
|
.homework-review {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
min-height: 100vh;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 顶部筛选区域 */
|
/* 顶部筛选区域 */
|
||||||
|
@ -371,7 +371,7 @@ const goBack = () => {
|
|||||||
.homework-review-detail {
|
.homework-review-detail {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
min-height: 100vh;
|
height: 100%;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ const sendReply = () => {
|
|||||||
.homework-review-view {
|
.homework-review-view {
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
min-height: 100vh;
|
height: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -213,7 +213,7 @@ console.log('CourseStatistics component loaded with ECharts and Tab functionalit
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.statistics-management {
|
.statistics-management {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
min-height: 100vh;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 顶部区域 */
|
/* 顶部区域 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user