improve(electron): decrease top padding when fullscreen on Mac

This commit is contained in:
charlie
2021-01-29 12:11:40 +08:00
committed by Tienson Qin
parent 71b16170ae
commit ec94390f3e
4 changed files with 29 additions and 9 deletions

View File

@@ -127,6 +127,17 @@ html.is-electron {
.cp__right-sidebar {
top: 4rem;
}
&.is-fullscreen {
.cp__header {
padding-top: 0;
height: 2.6rem;
&:before {
display: none;
}
}
}
}
#search {