From 70e84b7df11d6a0cccf7e92c596a262c1b260523 Mon Sep 17 00:00:00 2001 From: Codex Date: Thu, 23 Apr 2026 10:21:01 +0800 Subject: [PATCH] fix: widen tabbed admin edit sections --- src/app/(payload)/admin-theme.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/app/(payload)/admin-theme.css b/src/app/(payload)/admin-theme.css index 40f2dfb..62c209b 100644 --- a/src/app/(payload)/admin-theme.css +++ b/src/app/(payload)/admin-theme.css @@ -283,6 +283,25 @@ html[data-theme] .row .field-type { max-width: none; } +html[data-theme] .tabs-field__content-wrap, +html[data-theme] .tabs-field__content-wrap .render-fields, +html[data-theme] .tabs-field__content-wrap .field-type, +html[data-theme] .tabs-field__content-wrap .field-type:has(input[type='checkbox']), +html[data-theme] .tabs-field__content-wrap .field-type:has(select), +html[data-theme] .tabs-field__content-wrap .field-type:has(input[type='date']), +html[data-theme] .tabs-field__content-wrap .field-type:has(input[type='datetime-local']), +html[data-theme] .tabs-field__content-wrap .field-type:has(input[type='number']), +html[data-theme] .tabs-field__content-wrap .field-type:has(input[type='email']), +html[data-theme] .tabs-field__content-wrap .field-type:has(input[type='text']), +html[data-theme] .tabs-field__content-wrap .field-type:has(textarea), +html[data-theme] .tabs-field__content-wrap .field-type:has(.lexical-editor), +html[data-theme] .tabs-field__content-wrap .field-type:has(.code-editor), +html[data-theme] .tabs-field__content-wrap .field-type:has(.array-field), +html[data-theme] .tabs-field__content-wrap .field-type:has(.relationship-field), +html[data-theme] .tabs-field__content-wrap .field-type:has(.upload-field) { + max-width: none; +} + html[data-theme] .row { gap: 10px; }