Skip to content

Commit

Permalink
perf(UI): improved notes, fixes #746
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Jan 20, 2024
1 parent 8928510 commit bb36e98
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renderer/components/ScratchpadNote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -342,6 +342,8 @@ const highlightWord = (string: string) => {
<style lang="scss">
.tile-paragraph {
white-space: initial;
word-break: break-word;
user-select: text;
h1, h2, h3, h4, h5, h6, p, li {
margin: 0;
Expand Down

0 comments on commit bb36e98

Please sign in to comment.