From 53f02138efda2f6a0cb220e1e9e043e1362d7ebb Mon Sep 17 00:00:00 2001 From: Tobias Klika Date: Mon, 31 Jan 2022 16:23:00 +0100 Subject: [PATCH] editor as boxes fix --- zero.Backoffice.UI/app/components/ui-tab.vue | 2 +- zero.Backoffice.UI/app/editor/ui-editor.scss | 5 +++++ zero.Backoffice.UI/app/services/request.ts | 6 ++++++ zero.Backoffice.UI/app/styles/Modules/_flatpickr.scss | 2 +- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/zero.Backoffice.UI/app/components/ui-tab.vue b/zero.Backoffice.UI/app/components/ui-tab.vue index f5801bd6..83a638b6 100644 --- a/zero.Backoffice.UI/app/components/ui-tab.vue +++ b/zero.Backoffice.UI/app/components/ui-tab.vue @@ -1,5 +1,5 @@  diff --git a/zero.Backoffice.UI/app/editor/ui-editor.scss b/zero.Backoffice.UI/app/editor/ui-editor.scss index 219bf942..ba07f3c7 100644 --- a/zero.Backoffice.UI/app/editor/ui-editor.scss +++ b/zero.Backoffice.UI/app/editor/ui-editor.scss @@ -47,6 +47,11 @@ .editor.display-boxes .ui-tab { display: inherit !important; + + &.is-hidden + { + display: none !important; + } } .editor.display-boxes .ui-tab + .ui-tab diff --git a/zero.Backoffice.UI/app/services/request.ts b/zero.Backoffice.UI/app/services/request.ts index 529a2d11..7093c664 100644 --- a/zero.Backoffice.UI/app/services/request.ts +++ b/zero.Backoffice.UI/app/services/request.ts @@ -30,6 +30,12 @@ export function patch(url: string, data: any, config?: ApiRequestConfig) return send({ method: 'patch', url, data, ...config }); } +export function url(url: string) +{ + // TODO correct app + return paths.api.replace('{app}', 'hofbauer') + '/' + url; +} + export async function send(config: ApiRequestConfig) { diff --git a/zero.Backoffice.UI/app/styles/Modules/_flatpickr.scss b/zero.Backoffice.UI/app/styles/Modules/_flatpickr.scss index e9152869..c7226c7b 100644 --- a/zero.Backoffice.UI/app/styles/Modules/_flatpickr.scss +++ b/zero.Backoffice.UI/app/styles/Modules/_flatpickr.scss @@ -23,7 +23,7 @@ .flatpickr-next-month { width: 32px; - height: 40px; + height: 48px; display: flex; justify-content: center; align-items: center;