improve(electron): polish UI on Linux

This commit is contained in:
charlie
2021-01-27 15:18:39 +08:00
parent d669217356
commit 374af200cf
2 changed files with 8 additions and 4 deletions

View File

@@ -99,8 +99,7 @@ html.is-electron {
}
.cp__header {
height: 2rem;
padding-top: var(--frame-top-height);
height: 2.6rem;
background-color: var(--ls-primary-background-color);
top: 0;
}
@@ -133,6 +132,10 @@ html.is-electron {
#search {
-webkit-app-region: drag;
#search-wrapper {
-webkit-app-region: no-drag;
}
}
.ls-window-frame-title-bar {