Skip to content

Commit

Permalink
style: 添加 --b3-font-size-editor 变量
Browse files Browse the repository at this point in the history
  • Loading branch information
TCOTC committed Jan 27, 2025
1 parent 3bf6ba6 commit dc8a290
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/assets/scss/protyle/_wysiwyg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -181,16 +181,16 @@
position: absolute;
top: 50%;
left: 50%;
height: max(14px, var(--b3-font-size-editor));
width: max(14px, var(--b3-font-size-editor));
margin: min(-7px, -1 * var(--b3-font-size-editor) / 2) 0 0 min(-7px, -1 * var(--b3-font-size-editor) / 2);
height: max(14px, 1em);
width: max(14px, 1em);
margin: min(-7px, -.5em) 0 0 min(-7px, -.5em);
border-radius: 50%;
transition: var(--b3-transition);
}

svg {
width: 34px;
height: max(14px, var(--b3-font-size-editor) - 8px);
height: max(14px, 1em - 8px);
display: block;
z-index: 1;
position: relative;
Expand Down

0 comments on commit dc8a290

Please sign in to comment.