Skip to content

Commit

Permalink
fix: css on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
betterRunner committed Oct 6, 2021
1 parent 0a316cd commit 4e6f22c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
11 changes: 11 additions & 0 deletions src/content-scripts/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,14 @@ will be invisible, so set left to 0. */
.ql-tooltip {
left: 0 !important;
}

::-webkit-scrollbar {
width: 5px !important;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.3) !important;
border-radius: 5px !important;
}
::-webkit-scrollbar-thumb:window-inactive {
background: #aaa !important;
}
2 changes: 2 additions & 0 deletions src/content-scripts/renderer/popup/footer/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ export default {
background: #fff;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
display: flex;
align-items: center;
.footer {
padding: 10px 20px 10px 10px;
Expand Down
2 changes: 2 additions & 0 deletions src/content-scripts/renderer/popup/note-book/note.vue
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ export default {
flex-direction: column;
justify-content: flex-start;
width: 460px;
max-width: 460px;
box-sizing: border-box !important;
height: 100%;
.note-link {
Expand Down
1 change: 1 addition & 0 deletions src/content-scripts/renderer/popup/shared/more.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default {
height: px,
border: `${px} solid ${props.color}`,
"border-radius": px,
"box-sizing": "border-box",
margin: px,
cursor: 'pointer',
'user-select': 'none',
Expand Down
10 changes: 0 additions & 10 deletions src/content-scripts/renderer/popup/tag-book/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,14 +211,4 @@ export default {
border: 1px solid #ccc;
box-shadow: rgb(14 30 62 / 8%) 0px 3px 6px 0px;
}
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.3);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:window-inactive {
background: #aaa;
}
</style>

0 comments on commit 4e6f22c

Please sign in to comment.