Skip to content

Commit

Permalink
Merge pull request #1171 from su226/main
Browse files Browse the repository at this point in the history
Remove gap between titlebar and CloseablePanel when using system frame.
  • Loading branch information
MichaelHillcox authored Aug 3, 2024
2 parents 81961f2 + 2d176aa commit 2ea0566
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/molecules/ClosablePanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export default class ClosablePanel extends Vue {
<style scoped lang="scss">
.closable-panel {
position: fixed;
height: calc(100% - 1.8rem);
top: 2rem; // windows + linux title bar?
bottom: 0;
left: 0;
display: flex;
Expand All @@ -96,7 +96,11 @@ export default class ClosablePanel extends Vue {
&.is-mac {
top: 1.8rem;
}
.system-frame & {
top: 0;
}
.panel-container {
background-color: var(--color-navbar);
width: 95%;
Expand Down

0 comments on commit 2ea0566

Please sign in to comment.