Browse Source

fix: block content (Icon + Text) misaligned

related to https://github.com/logseq/db-test/issues/314
Tienson Qin 5 months ago
parent
commit
692b518a4d
1 changed files with 10 additions and 2 deletions
  1. 10 2
      src/main/frontend/components/block.css

+ 10 - 2
src/main/frontend/components/block.css

@@ -1067,8 +1067,16 @@ html.is-mac {
   height: 16px;
 }
 
-.ls-page-title .positioned-properties, .ls-page-title .time-spent {
-  margin-top: 15px;
+.ls-page-title {
+  .positioned-properties, .time-spent {
+    margin-top: 15px;
+  }
+}
+
+.ls-page-title .ls-properties-area {
+    .positioned-properties, .time-spent {
+        margin-top: initial;
+    }
 }
 
 .ls-page-title .ls-page-icon button {