mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-17 20:48:06 +01:00
This commit is contained in:
parent
633f9af058
commit
72d828db64
5 changed files with 5 additions and 3 deletions
|
|
@ -8,6 +8,7 @@
|
|||
font-variant-ligatures: no-common-ligatures;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: var(--b3-font-family-protyle);
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
|
|
|
|||
|
|
@ -334,6 +334,7 @@
|
|||
position: relative;
|
||||
font-size: 16px;
|
||||
border-radius: var(--b3-border-radius);
|
||||
font-family: var(--b3-font-family-protyle);
|
||||
|
||||
&:hover .protyle-title__icon {
|
||||
opacity: 1;
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ export const setInlineStyle = (set = true) => {
|
|||
.protyle-wysiwyg .h5 img.emoji, .b3-typography h5 img.emoji {width:${Math.floor(window.siyuan.config.editor.fontSize * 1.13 * 1.25)}px}
|
||||
.protyle-wysiwyg .h6 img.emoji, .b3-typography h6 img.emoji {width:${Math.floor(window.siyuan.config.editor.fontSize * 1.25)}px}`;
|
||||
if (window.siyuan.config.editor.fontFamily) {
|
||||
style += `\n.b3-typography:not(.b3-typography--default), .protyle-wysiwyg, .protyle-title {font-family: var(--b3-font-family-protyle), "${window.siyuan.config.editor.fontFamily}", var(--b3-font-family)}`;
|
||||
style += `\n.b3-typography:not(.b3-typography--default), .protyle-wysiwyg, .protyle-title {font-family: "${window.siyuan.config.editor.fontFamily}", var(--b3-font-family-protyle)}`;
|
||||
}
|
||||
// pad 端菜单移除显示,如工作空间
|
||||
if ("ontouchend" in document) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue