Skip to content

Commit

Permalink
chore: update rme to v0.0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
drl990114 committed Feb 12, 2024
1 parent 53e573b commit 2527a79
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 24 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"react-markdown": "^9.0.1",
"react-router-dom": "^6.15.0",
"remixicon": "^4.1.0",
"rme": "0.0.21",
"rme": "0.0.23",
"styled-components": "^6.1.0",
"stylis": "^4.0.0",
"tinykeys": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/gen/schemas/plugin-manifests.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/desktop/src/components/EditorArea/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ function Editor(props: EditorProps) {
return <WarningHeader>File is not exist</WarningHeader>
}

const cls = classNames('code-contents', {
const cls = classNames('code-contents', 'markdown-body', {
'editor-active': active,
'display-none': !active,
})
Expand Down
20 changes: 4 additions & 16 deletions apps/desktop/src/globalStyles.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
import { createGlobalStyle } from 'styled-components'

export const GlobalStyles = createGlobalStyle`
.mention {
padding: 2px 4px;
border-radius: 4px;
}
.remirror-theme {
/* Provide sufficient space to see the popup */
--rmr-space-6: 400px;
}
.suggestions {
border: 1px solid darkgray;
border-radius: 4px;
}
.suggestion {
padding: 2px 8px;
}
.remirror-theme {
/* Provide sufficient space to see the popup */
--rmr-space-6: 400px;
}
html {
border-radius: 10px;
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6262,7 +6262,7 @@ __metadata:
react-router-dom: "npm:^6.15.0"
react-test-renderer: "npm:^18.2.0"
remixicon: "npm:^4.1.0"
rme: "npm:0.0.21"
rme: "npm:0.0.23"
styled-components: "npm:^6.1.0"
stylis: "npm:^4.0.0"
tinykeys: "npm:^2.1.0"
Expand Down Expand Up @@ -22239,9 +22239,9 @@ plugin-image-zoom@ataft/plugin-image-zoom:
languageName: node
linkType: hard

"rme@npm:0.0.21":
version: 0.0.21
resolution: "rme@npm:0.0.21"
"rme@npm:0.0.23":
version: 0.0.23
resolution: "rme@npm:0.0.23"
dependencies:
"@codemirror/autocomplete": "npm:^6.8.1"
"@codemirror/commands": "npm:^6.2.4"
Expand Down Expand Up @@ -22315,7 +22315,7 @@ plugin-image-zoom@ataft/plugin-image-zoom:
peerDependencies:
react: ">=16.14.0"
react-dom: ">=16.14.0"
checksum: fc7585252cdd1db48b29878e01896506b48567c63adfad04c7dd0250040af78f88ef33ee7b117d2184509ebe50ead3777c5a6a49754d45554e93ba5c20acdcfc
checksum: 79cecc1c2de45392b3dda8cb4478c533cd0e7d9e9fcdbf899d0bc9979870f07bc6465744a46556c80a9d0f45143e1d384793379951ad0ba51135a0ffd791bb4f
languageName: node
linkType: hard

Expand Down

0 comments on commit 2527a79

Please sign in to comment.