File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -224,3 +224,22 @@ h2 {
224224 color : inherit;
225225 }
226226}
227+
228+ /* Un-flex label and value for boolean fields back to label: value */
229+ .ea-detail .field-group .field-boolean {
230+ flex-direction : initial;
231+
232+ .field-label {
233+ flex : initial;
234+ margin : 0 15px 0 0 ;
235+ min-inline-size : initial;
236+ text-align : right;
237+ }
238+
239+ .field-value {
240+ flex : initial;
241+ inline-size : initial;
242+ min-inline-size : initial;
243+ text-align : initial;
244+ }
245+ }
Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ public function configureFields(string $pageName): iterable
5050 yield UrlField::new ('sysLink ' )->setLabel ('entity.report.sys_id ' )->setLabel ('entity.report.sys_link ' )
5151 ->formatValue (static fn ($ value ) => new TranslatableMessage ('Link ' ));
5252 yield BooleanField::new ('textSet ' )->setLabel ('entity.report.text ' )
53- ->renderAsSwitch (false );
53+ ->renderAsSwitch (false )
54+ ->hideValueWhenFalse ();
5455
5556 return ;
5657
You can’t perform that action at this time.
0 commit comments