Skip to content

Commit

Permalink
调整滚动条样式
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacker233 committed Jul 28, 2022
1 parent 555fed2 commit 0925afe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@
const { isLoading } = storeToRefs(useLoadingStore());
openAndCloseLoadingByTime(1500); // 等待动画层
</script>
<style></style>
<style>
#app {
min-width: 1500px;
}
</style>
2 changes: 2 additions & 0 deletions src/components/ResumeTheme/ResumeTheme.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,7 @@
<style lang="less" scoped>
.resume-theme-box {
padding: 20px;
box-sizing: border-box;
overflow-x: hidden;
}
</style>
6 changes: 4 additions & 2 deletions src/style/normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -364,20 +364,22 @@ template {
}

::-webkit-scrollbar {
/* display: none; */
width: 8px;
height: 8px;
}

::-webkit-scrollbar-thumb {
display: block;
min-height: 12px;
min-height: 4px;
min-width: 8px;
border-radius: 6px;
background-color: rgb(217, 217, 217);
}

::-webkit-scrollbar-thumb:hover {
display: block;
min-height: 12px;
min-height: 4px;
min-width: 8px;
border-radius: 6px;
background-color: rgb(159, 159, 159);
Expand Down

1 comment on commit 0925afe

@vercel
Copy link

@vercel vercel bot commented on 0925afe Jul 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.