- 🇺🇸United States bnjmnm Ann Arbor, MI
Tagging Field UX as there's a good chance of future developments making greater use of inline form elements.
If there are backwards compatibility concerns with the solution as proposed that don't seem sufficiently addressed by stable, another option is to create a new class that has the proposed changes targeting direct descendants, but keep the current one working as is.
- 🇮🇳India rckstr_rohan
The CSS codes are available in the repository.
grep -r 'form--inline' core/themes/olivero
- Status changed to Needs review
over 1 year ago 2:14am 10 April 2023 - 🇮🇳India gauravvvv Delhi, India
Addressed #17, attached interdiff for same. please review
- Status changed to Needs work
over 1 year ago 3:03pm 10 April 2023 - 🇺🇸United States smustgrave
Why are we adding a css folder to core?
/core/css/form--inline.css
- Status changed to Needs review
over 1 year ago 2:44am 11 April 2023 - 🇮🇳India gauravvvv Delhi, India
I have updated the code in all themes instead of creating a single directory inside the core, as in patch #21. I have updated the patch and attached an interdiff for the same.
- 🇮🇳India rckstr_rohan
the issue, summary say Olivero theme but the above patch is for claro, demo_umami and starterkit_theme, looks summary needs to be updated:
Suggestion:The 'forms-inline' class should ensure all direct descendants are inline within all the core themes provided namely: claro, olivero, demo_umami and starter kit
- 🇮🇳India Aziza Anwari Gujarat
Checked the patch given on #23 apply cleanly and looks good to proceed
- Status changed to Needs work
over 1 year ago 11:01am 11 April 2023 - 🇺🇸United States smustgrave
Could the issue summary be updated for what the target themes are please
- Status changed to RTBC
over 1 year ago 11:44am 11 April 2023 - 🇺🇸United States smustgrave
Reread it and the issue summary mentions we should be done in all of core and since those are the themes should be fine.
- last update
over 1 year ago 29,202 pass - Status changed to Needs work
over 1 year ago 8:24am 18 April 2023 - 🇫🇮Finland lauriii Finland
index b5201a78c9..a230e0982f 100644 --- a/core/profiles/demo_umami/themes/umami/css/classy/components/inline-form.css --- a/core/profiles/demo_umami/themes/umami/css/classy/components/inline-form.css +++ b/core/profiles/demo_umami/themes/umami/css/classy/components/inline-form.css index b5201a78c9..e762ff9682 100644 --- a/core/themes/claro/css/classy/components/inline-form.css --- a/core/themes/claro/css/classy/components/inline-form.css +++ b/core/themes/claro/css/classy/components/inline-form.css
At the moment these CSS files are in the
classy
directory because they are exact copies of Classy. However, not that we are modifying these, it is no longer the case. For that reason, we should move them outside theclassy
directory. - 🇺🇸United States bnjmnm Ann Arbor, MI
+++ b/core/themes/claro/claro.libraries.yml @@ -40,6 +40,7 @@ global-styling: css/components/form--select.css: {} css/components/help.css: {} css/components/image-preview.css: {} + css/components/inline-form.css: {} css/components/menus-and-lists.css: {} css/components/modules-page.css: {} css/components/node.css: {}
This looks good, but the library definition should also have its reference to
css/classy/components/inline-form.css: {}
removed - Status changed to Needs review
over 1 year ago 11:11am 19 April 2023 - last update
over 1 year ago 29,283 pass - Status changed to Needs work
over 1 year ago 1:26pm 19 April 2023 - 🇺🇸United States smustgrave
Since we are moving files can we update the issue summary please.
- Status changed to Needs review
over 1 year ago 10:30am 20 April 2023 - last update
over 1 year ago 29,282 pass, 1 fail The last submitted patch, 29: 3232665-29.patch, failed testing. View results →
- Status changed to RTBC
over 1 year ago 11:58pm 21 April 2023 - last update
over 1 year ago 29,301 pass, 1 fail The last submitted patch, 29: 3232665-29.patch, failed testing. View results →
- last update
over 1 year ago 29,303 pass, 1 fail The last submitted patch, 29: 3232665-29.patch, failed testing. View results →
- 🇺🇸United States bnjmnm Ann Arbor, MI
I'm seeing some regressions with this change. It's probably worth checking all usages of .form--inline and making sure they continue to look OK.
- Assigned to ravi kant
- Status changed to Needs work
over 1 year ago 8:48am 8 May 2023 - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 3:15pm 8 May 2023 - last update
over 1 year ago Patch Failed to Apply - 🇮🇳India ravi kant Jaipur
The issue appears when the "Exposed form" is displayed in a block. During the display "Exposed form" in the block, the form--inline class adds on outer div instead form tag. so fixed the issue according to it and created a patch.
- Status changed to Needs work
over 1 year ago 3:33pm 8 May 2023 - 🇺🇸United States bnjmnm Ann Arbor, MI
Probably best to disregard #40, but hopefully the feedback here helps you give it another shot @ravi kant
The issues reported in #38 are happening in the Claro theme
The change in #40 is being made to the Olivero theme. This would have no impact whatsoever.
In addition, the changes were made to form.css. Olivero and Claro changes need to be made to .pcss.css files, then the build process → creates the css files.
Nothing in #38 deals with views exposed forms so that's probably not the place to target. Also, screenshots of html isn't particularly helpful, but seeing how it appears as an actual styled page can be helpful.
- 🇺🇸United States bnjmnm Ann Arbor, MI
Currently the issue summary explains this change should happen Olivero is doing it. #38 points out there are regressions. The issue summary should be updated to better explain why this is a beneficial change. If that is documented, we can better decide if making the actual potential-regression-causing change is worthwhile.