File tree Expand file tree Collapse file tree 2 files changed +404
-373
lines changed
scenes/frame/panels/FrameSettings Expand file tree Collapse file tree 2 files changed +404
-373
lines changed Original file line number Diff line number Diff line change @@ -26,17 +26,20 @@ export function Field({
2626 ...props
2727} : FieldProps ) : ReturnType < typeof KeaField > {
2828 const labelNode = label ? (
29- < Label >
29+ < Label className = { ! labelRight ? '@md:w-1/3' : '' } >
3030 { label }
3131 { tooltip ? < Tooltip title = { tooltip } /> : null }
3232 </ Label >
3333 ) : null
3434 const template : KeaFieldProps [ 'template' ] = ( { label, kids, error } ) => {
3535 return (
36- < div className = { clsx ( 'space-y-1' , className ) } { ...( error ? { 'data-field-with-error' : true } : { } ) } >
36+ < div
37+ className = { clsx ( 'space-y-1 @md:flex @md:gap-2' , className ) }
38+ { ...( error ? { 'data-field-with-error' : true } : { } ) }
39+ >
3740 < >
3841 { labelRight ? (
39- < div className = "flex w-full justify-between items-center" >
42+ < div className = "flex w-full justify-between items-center @md:w-1/3 " >
4043 { labelNode }
4144 { labelRight }
4245 </ div >
You can’t perform that action at this time.
0 commit comments