瀏覽代碼

UI/themes: Add macOS separator fix to Dark and System

gxalpha 3 年之前
父節點
當前提交
b7e7bf192c
共有 2 個文件被更改,包括 14 次插入0 次删除
  1. 7 0
      UI/data/themes/Dark.qss
  2. 7 0
      UI/data/themes/System.qss

+ 7 - 0
UI/data/themes/Dark.qss

@@ -121,6 +121,13 @@ SourceTree QLineEdit {
     border-radius: none;
     border-radius: none;
 }
 }
 
 
+/* macOS Separator Fix */
+QMainWindow::separator {
+    background: transparent;
+    width: 4px;
+    height: 4px;
+}
+
 /* Dock Widget */
 /* Dock Widget */
 
 
 QDockWidget {
 QDockWidget {

+ 7 - 0
UI/data/themes/System.qss

@@ -138,6 +138,13 @@ QLabel#errorLabel {
     font-weight: bold;
     font-weight: bold;
 }
 }
 
 
+/* macOS Separator Fix */
+QMainWindow::separator {
+    background: transparent;
+    width: 4px;
+    height: 4px;
+}
+
 /* About dialog */
 /* About dialog */
 
 
 * [themeID="aboutName"] {
 * [themeID="aboutName"] {