Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
winetree94 committed Nov 1, 2023
1 parent 4aa3813 commit 4be4734
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 52 deletions.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 0 additions & 52 deletions packages/docs/src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,55 +57,3 @@ body {

font-family: "Inter", "Noto Sans KR", sans-serif;
}

/* Customize website's scrollbar like Mac OS
Not supports in Firefox and IE */
.scrollbar {
overflow: overlay;
}

/* total width */
.scrollbar::-webkit-scrollbar {
background-color: rgba(0, 0, 0, 0);
width: 16px;
height: 16px;
z-index: 999999;
}

/* background of the scrollbar except button or resizer */
.scrollbar::-webkit-scrollbar-track {
background-color: rgba(0, 0, 0, 0);
}

/* scrollbar itself */
.scrollbar::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0);
border-radius: 16px;
border: 0px solid #fff;
}

/* set button(top and bottom of the scrollbar) */
.scrollbar::-webkit-scrollbar-button {
display: none;
}

/* scrollbar when element is hovered */
.scrollbar:hover::-webkit-scrollbar-thumb {
background-color: #a0a0a5;
border: 4px solid #fff;
}

/* scrollbar when scrollbar is hovered */
.scrollbar::-webkit-scrollbar-thumb:hover {
background-color: #a0a0a5;
border: 4px solid #f4f4f4;
}

.pmp-mention {
border: 1px solid gray;
}

.pmp-view-editor-root {
// max-width: 500px;
// border: 1px solid gray;
}
2 changes: 2 additions & 0 deletions packages/docs/src/pages/index.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.EditorContainer {
background-color: rgba(0, 0, 0, 0.1);
padding: 30px;
align-items: center;
}

.Header {
Expand All @@ -12,4 +13,5 @@
display: flex;
flex: 1 1 auto;
width: 100%;
max-width: 1080px;
}
1 change: 1 addition & 0 deletions packages/preset-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"prosemirror-preset-tables": "*",
"prosemirror-preset-command": "*",
"prosemirror-preset-blockquote": "*",
"emoji-datasource": "15.0.1",
"preact": "*",
"htm": "*",
"remixicon": "^3.5.0"
Expand Down

0 comments on commit 4be4734

Please sign in to comment.