diff --git a/src/components/sections/openness/openness.module.css b/src/components/sections/openness/openness.module.css index 34b14fb32..aac10389e 100644 --- a/src/components/sections/openness/openness.module.css +++ b/src/components/sections/openness/openness.module.css @@ -4,7 +4,6 @@ justify-content: center; align-items: flex-start; max-width: var(--max-content-width-large); - padding: 0 2rem; margin: 5rem auto; gap: 2rem; color: var(--text-primary); diff --git a/studio/schemas/objects/sections/openness.ts b/studio/schemas/objects/sections/openness.ts index 4e6fd6937..937f3423c 100644 --- a/studio/schemas/objects/sections/openness.ts +++ b/studio/schemas/objects/sections/openness.ts @@ -14,6 +14,7 @@ export const opennessSection = defineField({ description: "Enter the primary title that will be displayed at the top of the section.", type: "internationalizedArrayString", + validation: (rule) => rule.required(), }, { name: "image", @@ -23,6 +24,7 @@ export const opennessSection = defineField({ options: { hotspot: true, }, + validation: (rule) => rule.required(), }, { name: "description", @@ -30,6 +32,7 @@ export const opennessSection = defineField({ description: "Enter the description that will be displayed in the smiley block.", type: "internationalizedArrayString", + validation: (rule) => rule.required(), }, ], preview: {