feat: add border to header on mac electron and center align icons

This commit is contained in:
Junyu Zhan
2021-06-30 16:34:44 +08:00
committed by Tienson Qin
parent 1eb6ceef4f
commit 43d8c0ef3f
2 changed files with 37 additions and 5 deletions

View File

@@ -26,6 +26,37 @@
min-width: 14rem;
}
}
&.electron-mac {
height: auto;
border-bottom: 1px solid var(--ls-secondary-border-color);
.open-button__icon-wrapper {
margin-right: 7px;
}
svg {
width: 15px;
height: 15px;
}
.navigation svg {
width: 24px;
height: 24px;
}
.open-button {
&__inner {
@apply items-center;
svg {
width: 18px;
height: 18px;
}
}
}
}
}
.is-electron.is-mac .cp__header {