Skip to content

Commit

Permalink
fix: padding & scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
betterRunner committed Dec 25, 2021
1 parent 81360db commit ecedbb7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/content-scripts/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ will be invisible, so set left to 0. */
left: 0 !important;
}

/* ::-webkit-scrollbar {
.popup-wrapper::-webkit-scrollbar {
width: 5px !important;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.3) !important;
.popup-wrapper::-webkit-scrollbar-track {
-webkit-box-shadow: rgba(0, 0, 0, 0.3) !important;
border-radius: 5px !important;
}
::-webkit-scrollbar-thumb:window-inactive {
.popup-wrapper::-webkit-scrollbar-thumb:window-inactive {
background: #aaa !important;
} */
}
4 changes: 2 additions & 2 deletions src/content-scripts/renderer/popup/note-book/note.vue
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export default {

<style lang="less" scoped>
.note-wrapper {
padding: 16px;
padding: 10px 16px;
background: white;
box-shadow: 1px 2px 2px 0 rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
Expand Down Expand Up @@ -353,7 +353,7 @@ export default {
}
.note-more-opers {
position: absolute;
top: 5px;
top: 0px;
right: 10px;
cursor: pointer;
padding: 5px;
Expand Down

0 comments on commit ecedbb7

Please sign in to comment.