diff --git a/src/renderer/components/ScratchpadNote.vue b/src/renderer/components/ScratchpadNote.vue index e958bb41..a4c4c54e 100644 --- a/src/renderer/components/ScratchpadNote.vue +++ b/src/renderer/components/ScratchpadNote.vue @@ -256,9 +256,9 @@ const highlightWord = (string: string) => { code, pre { max-width: 100%; + width: 100%; display: inline-block; font-size: 100%; - // color: $primary-color; opacity: 0.8; font-weight: 600; white-space: break-spaces; @@ -342,6 +342,8 @@ const highlightWord = (string: string) => {