diff --git a/terminus-terminal/src/components/baseTerminalTab.component.ts b/terminus-terminal/src/components/baseTerminalTab.component.ts index 5f5e3036..01b1dd4d 100644 --- a/terminus-terminal/src/components/baseTerminalTab.component.ts +++ b/terminus-terminal/src/components/baseTerminalTab.component.ts @@ -24,6 +24,7 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit @Input() zoom = 0 @ViewChild('content') content @HostBinding('style.background-color') backgroundColor: string + @HostBinding('class.top-padded') topPadded: boolean frontend: Frontend sessionCloseSubscription: Subscription hotkeysSubscription: Subscription @@ -304,6 +305,10 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit configure (): void { this.frontend.configure() + this.topPadded = this.hostApp.platform === Platform.macOS + && this.config.store.appearance.frame === 'thin' + && this.config.store.appearance.tabsLocation === 'bottom' + if (this.config.store.terminal.background === 'colorScheme') { if (this.config.store.terminal.colorScheme.background) { this.backgroundColor = this.config.store.terminal.colorScheme.background diff --git a/terminus-terminal/src/components/terminalTab.component.scss b/terminus-terminal/src/components/terminalTab.component.scss index 0556f84c..12cf276a 100644 --- a/terminus-terminal/src/components/terminalTab.component.scss +++ b/terminus-terminal/src/components/terminalTab.component.scss @@ -3,6 +3,10 @@ display: flex; overflow: hidden; + &.top-padded { + padding-top: 20px; + } + &> .content { flex: auto; position: relative;