Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
hager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-10-28 11:44:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a63edf23a1500f949e865330cde6647021cf628e
a63edf23
1 parent
bb4e4387
fix 页面滚动ie适配显示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/views/about/honors.vue
src/views/about/honors.vue
View file @
a63edf2
<!--
* @Date: 2024-10-17 11:13:44
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-2
5 16:09:06
* @LastEditTime: 2024-10-2
8 10:53:33
* @FilePath: /hager/src/views/about/honors.vue
* @Description: 关于海格-荣誉展示
-->
...
...
@@ -198,7 +198,7 @@ export default {
this.$refs.contentDiv.forEach(div => {
// 判断内容是否超出 div 的高度
if (div.scrollHeight > div.clientHeight) {
div.style.overflow = 'scroll';
div.style.overflow
Y
= 'scroll';
} else {
div.style.overflow = 'visible';
}
...
...
@@ -278,7 +278,7 @@ export default {
background-color: #F7F7F7;
padding: 2rem 1.5rem;
padding-bottom: 0.5rem;
overflow: scroll;
overflow
-y
: scroll;
&.a {
height: 10rem;
}
...
...
@@ -300,7 +300,7 @@ export default {
line-height: 1.8;
// height: 3rem;
margin-bottom: 0.5rem;
overflow: scroll;
//
overflow: scroll;
}
}
}
...
...
@@ -376,7 +376,7 @@ export default {
font-size: 0.95rem;
line-height: 1.8;
height: 8rem;
overflow: scroll;
overflow
-y
: scroll;
}
}
}
...
...
Please
register
or
login
to post a comment