Fix some display issues with the ListEditWidget.
Review Request #14462 — Created June 19, 2025 and submitted
This change fixes two things with the list edit widget, which is used
for the diffviewer syntax highlighting file type override configuration.
In the case that the widget is used within a ConfigForms page, the
30em width for input fields was causing the widget to bust out of the
60em width of the config forms page. ConfigForms is desperately in
need of a comprehensive redesign, but for now I've added some style
overrides to remove the 30em width and instead applyflex-grow: 1
.This change also swaps out the
btn
class forink-c-button
, giving
us a better display when running in dark mode. While doing this, I've
removedrole="button"
from the element, since that's implicit for
<button>
tags.
- Viewed the widget in the context of a ConfigForms page and saw that it
was now fitting nicely into the width of its container, and the "Add
item" button looked nice in both light and dark modes. - Ran js-tests.
Summary | ID |
---|---|
74cf91dac2a05d300fb25a486e334ae40ee4dca7 |
Description | From | Last Updated |
---|---|---|
Typo in the description: "deseperately" |
|
|
If we're using ink-c-button, we need to update the inner elements to use the right structure for icons and text. |
|
|
Same comment about the structure. Also, the inner element needs to be indented 1. |
|
|
This is missing localization. |
|
- Description:
-
This change fixes two things with the list edit widget, which is used
for the diffviewer syntax highlighting file type override configuration. ~ -
In the case that the widget is used within a ConfigForms page, the
30em width for input fields was causing the widget to bust out of the
60em width of the config forms page. ConfigForms is deseperately in
need of a comprehensive redesign, but for now I've added some style
overrides to remove the 30em width and instead applyflex-grow: 1
.
~ -
In the case that the widget is used within a ConfigForms page, the
30em width for input fields was causing the widget to bust out of the
60em width of the config forms page. ConfigForms is desperately in
need of a comprehensive redesign, but for now I've added some style
overrides to remove the 30em width and instead applyflex-grow: 1
.
-
This change also swaps out the
btn
class forink-c-button
, giving
us a better display when running in dark mode. While doing this, I've
removedrole="button"
from the element, since that's implicit for
<button>
tags.
-
- Commits:
-
Summary ID 75c6089d4b538aa09155bf607fab64bc804d6872 74cf91dac2a05d300fb25a486e334ae40ee4dca7