Skip to content

Hiding unused UI elements #5546

Closed Answered by DusanLesan
DusanLesan asked this question in Ideas
Discussion options

You must be logged in to vote

Until all discussions like this are addressed and we get a sensible way to hide bars, people like me who do not need any bars at all can set this in their theme to hide them:

...
		rawCss: `
		.app .app-header {
			opacity: 0;
			height: 0;
			padding: 0;
		}

		.app > div:nth-child(2) {
			grid-template: "Header Header" auto
			"Navbar Content" 1fr
			"Statusbar Statusbar" 0 / 0 1fr;
		}
...
Full theme file I use:
module.exports = {
	name: 'vscode',
	displayName: 'VSCode',
	theme: {
		rawCss: `
		.app .app-header {
			opacity: 0;
			height: 0;
			padding: 0;
		}

		.app > div:nth-child(2) {
			grid-template: "Header Header" auto
			"Navbar Content" 1fr
			"Statusbar Statusbar" 0 / 0 1f…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by DusanLesan
Comment options

You must be logged in to vote
1 reply
@DusanLesan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants