editor as boxes fix

This commit is contained in:
2022-01-31 16:23:00 +01:00
parent 60f9162667
commit 53f02138ef
4 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<section v-show="active && !hide" class="ui-tab" :aria-hidden="!active ? true : null" role="tabpanel">
<section v-show="active && !hide" :class="{ 'is-hidden': hide }" class="ui-tab" :aria-hidden="!active ? true : null" role="tabpanel">
<slot />
</section>
</template>
@@ -47,6 +47,11 @@
.editor.display-boxes .ui-tab
{
display: inherit !important;
&.is-hidden
{
display: none !important;
}
}
.editor.display-boxes .ui-tab + .ui-tab
@@ -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)
{
@@ -23,7 +23,7 @@
.flatpickr-next-month
{
width: 32px;
height: 40px;
height: 48px;
display: flex;
justify-content: center;
align-items: center;