From 80225770cb3516703968927641e8797d8af986d3 Mon Sep 17 00:00:00 2001 From: kometenstaub <83140328+kometenstaub@users.noreply.github.com> Date: Thu, 11 Aug 2022 13:53:43 +0200 Subject: [PATCH] feat: add hide header option --- esbuild.mjs | 14 ++++++++++++++ src/styles.scss | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/esbuild.mjs b/esbuild.mjs index 57a83b2..e2ed094 100644 --- a/esbuild.mjs +++ b/esbuild.mjs @@ -109,6 +109,20 @@ settings: max: 16 step: 1 format: px + - + id: display-view-header-title + title: Hide the view header title + description: Redundant because of the embedded title. Gives more spaces for buttons. + type: variable-select + default: initial + options: + - + label: Show header + value: initial + - + label: Hide header + value: none + */ ` diff --git a/src/styles.scss b/src/styles.scss index bc96dc2..31f7446 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -1,3 +1,7 @@ +.view-header-title { + display: var(--display-view-header-title, initial); +} + .page-header-button.titlebar-center { position: absolute; width: 100%;