Prechádzať zdrojové kódy

:lipstick: https://github.com/siyuan-note/siyuan/issues/10533

Vanessa 1 rok pred
rodič
commit
e64d026c18

+ 3 - 2
app/src/assets/scss/component/_typography.scss

@@ -286,6 +286,7 @@
         font-size: 85%;
         font-size: 85%;
         color: var(--b3-theme-on-surface);
         color: var(--b3-theme-on-surface);
         margin-top: -4px;
         margin-top: -4px;
+        align-self: center;
       }
       }
 
 
       .protyle-icon,
       .protyle-icon,
@@ -307,7 +308,7 @@
 
 
   .hljs {
   .hljs {
     border-radius: var(--b3-border-radius);
     border-radius: var(--b3-border-radius);
-    padding: 1.6em 4px;
+    padding: 2em 4px 1.6em 4px;
     font-size: 85%;
     font-size: 85%;
     overflow: auto;
     overflow: auto;
     font-family: var(--b3-font-family-code);
     font-family: var(--b3-font-family-code);
@@ -557,7 +558,7 @@
       counter-reset: linenumber;
       counter-reset: linenumber;
       font-size: 85%;
       font-size: 85%;
       background-color: var(--b3-theme-surface);
       background-color: var(--b3-theme-surface);
-      padding: 1.6em 4px;
+      padding: 2em 4px 1.6em 4px;
       box-sizing: border-box;
       box-sizing: border-box;
       border-radius: var(--b3-border-radius) 0 0 var(--b3-border-radius);
       border-radius: var(--b3-border-radius) 0 0 var(--b3-border-radius);
       width: 3.6em;
       width: 3.6em;

+ 1 - 0
app/src/assets/scss/protyle/_wysiwyg.scss

@@ -556,6 +556,7 @@
 
 
       .protyle-action__language {
       .protyle-action__language {
         opacity: .86;
         opacity: .86;
+        user-select: none;
       }
       }
 
 
       .protyle-action__copy,
       .protyle-action__copy,

+ 1 - 0
app/src/types/index.d.ts

@@ -218,6 +218,7 @@ interface ICard {
     cardID: string
     cardID: string
     blockID: string
     blockID: string
     nextDues: IObject
     nextDues: IObject
+    state: number   // 0:新卡
 }
 }
 
 
 interface ICardData {
 interface ICardData {