Skip to content

Commit

Permalink
🎨 fix #9844
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Dec 8, 2023
1 parent a2bae98 commit 7742223
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/src/assets/scss/component/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,6 @@
max-width: 100%;
user-select: none;

&:not([style]) {
display: initial;
}

& > span:nth-child(2) {
max-width: calc(100% - 10px);
position: relative;
Expand Down
5 changes: 5 additions & 0 deletions app/src/assets/scss/protyle/_wysiwyg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,11 @@
}

.img {
// 不能放在 typography 下 https://github.com/siyuan-note/siyuan/issues/9844
&:not([style]) {
display: initial;
}

&--select {
filter: brightness(0.68);
}
Expand Down

0 comments on commit 7742223

Please sign in to comment.