fixes
All checks were successful
deploy to production / deploy (push) Successful in 35s

This commit is contained in:
2023-09-01 14:05:36 +00:00
parent 10eade80ae
commit 1b44964f9c
3 changed files with 14 additions and 3 deletions

View File

@@ -15,6 +15,12 @@ subFields:
label: Oberer Titel label: Oberer Titel
helperText: "Dieser Titel wird in der Zeile oben angezeigt." helperText: "Dieser Titel wird in der Zeile oben angezeigt."
- name: topTitleUpperCase
type: boolean
meta:
label: Oberer Titel in Großbuchstaben
helperText: "Ist dies aktiviert, so wird der obere Titel in Großbuchstaben angezeigt."
- name: title - name: title
type: string type: string
meta: meta:

View File

@@ -131,7 +131,7 @@
} }
h2 { h2 {
font-size: 1.2rem !important; font-size: 1.6rem !important;
line-height: 1; line-height: 1;
font-family: "Libre Franklin", sans-serif; font-family: "Libre Franklin", sans-serif;
font-weight: 500; font-weight: 500;

View File

@@ -39,7 +39,12 @@
{#if Object.keys(row).length} {#if Object.keys(row).length}
{#if row.topTitle} {#if row.topTitle}
<h3 style="text-transform: uppercase; font-size: 14px;" class:red="{row.topTitleRed}">{row.topTitle}</h3> <h3
style="{row.topTitleUpperCase ? 'text-transform: uppercase; font-size: 1rem;' : 'font-size: 1.6rem'}"
class:red="{row.topTitleRed}"
>
{row.topTitle}
</h3>
{/if} {/if}
{#if nestedPath} {#if nestedPath}
<h3 <h3
@@ -68,7 +73,7 @@
class:dominant="{row.columns.some((col) => col.contentType == 'iconCycleCircle')}" class:dominant="{row.columns.some((col) => col.contentType == 'iconCycleCircle')}"
> >
{#each row?.columns as col} {#each row?.columns as col}
<div class="col" class:dominant="{col.contentType == 'iconCycleCircle'}"> <div class="col" class:dominant="{col.contentType == 'iconCycleCircle'}">
{#if col?.contentType == "text"} {#if col?.contentType == "text"}
<Text text="{col?.text}" /> <Text text="{col?.text}" />
{:else if col?.contentType == "textLink"} {:else if col?.contentType == "textLink"}