fix styles, icons

This commit is contained in:
2023-10-01 15:24:00 +02:00
parent 7dfec0b3ed
commit 7646c83f59
7 changed files with 30 additions and 35 deletions

View File

@ -1,5 +1,10 @@
import { DateFormat, MarkdownProps } from "../props.js";
import { DescriptionText, DraftBoolean, Title } from "./widgets.js";
import {
AuthorRelation,
DescriptionText,
DraftBoolean,
Title,
} from "./widgets.js";
const BlogCollection = {
name: "blog",
@ -52,19 +57,7 @@ const BlogCollection = {
required: true,
default: "/media/image.webp",
},
{
name: "author",
label: "Autor(en)",
hint: "Verwaltet im Autoren-Bereich. Mehrere Autoren werden in alphabetischer Reihenfolge aufgelistet.",
widget: "relation",
collection: "author",
value_field: "{{slug}}",
search_fields: ["title"],
display_fields: ["{{title}}"],
multiple: true,
required: true,
options_length: 10000,
},
AuthorRelation,
{
name: "categories",
label: "Kategorien",
@ -98,7 +91,7 @@ const BlogCollection = {
label: "Tags",
widget: "list",
delimiter: ",",
required: false
required: false,
},
{
name: "type",