MrWillCom 3 лет назад
Родитель
Сommit
ecda94a394

+ 10 - 2
src/main/frontend/components/win32_title_bar.cljs

@@ -6,6 +6,14 @@
   []
   []
   [:div.cp__win32-title-bar#win32-title-bar
   [:div.cp__win32-title-bar#win32-title-bar
     {}
     {}
-    [:div.logo
+    [:div.left-side
       {}
       {}
-      (svg/logo)]])
+      [:div.logo
+        {}
+        (svg/logo)]
+      [:div.title
+        {}
+        "Logseq"]]
+    [:div.right-side
+      {}
+      []]])

+ 15 - 4
src/main/frontend/components/win32_title_bar.css

@@ -6,13 +6,24 @@
   top: 0;
   top: 0;
   height: var(--ls-win32-title-bar-height);
   height: var(--ls-win32-title-bar-height);
   display: flex;
   display: flex;
+  justify-content: space-between;
+  user-select: none;
 
 
-  > .logo {
-    width: 50px;
-    height: var(--ls-win32-title-bar-height);
+  > .left-side {
     display: flex;
     display: flex;
     align-items: flex-end;
     align-items: flex-end;
-    justify-content: center;
+
+    > .logo {
+      width: 50px;
+      height: var(--ls-win32-title-bar-height);
+      display: flex;
+      align-items: flex-end;
+      justify-content: center;
+    }
+
+    > .title {
+      font-size: 12px;
+    }
   }
   }
 }
 }