Replace container-inline with form--inline to display forms horizontally.

Created on 30 January 2015, over 9 years ago
Updated 31 May 2024, 27 days ago

Problem/Motivation

Container inline is used often to display forms horizontally, but the usecase is so broad, that it's hard to predict how it affects many use cases across core.

Proposed resolution

We added a dedicated classes for displaying forms horizontally in #2333719: Abstract Views Exposed Form styling out into a reusable class → . This allows us to target form elements specifically.

Remaining tasks

Find all instances of uses of container-inline to display a form horizontally.
Check if there is any CSS that adds to container-inline for each instance, and assess whether it is needed (consistency FTW)
Replace container-inline with form--inline
Improve form--inline so it can cover all use cases

User interface changes

Maybe some minor spacing changes for consistency.

Test URLS

/admin/config/system/actions
/admin/content/comment
/admin/structure/types/manage/article/fields/node.article.field_image
/admin/config/regional/translate
/admin/config/content/formats/manage/basic_html
/node/add/article -> Insert image
/admin/reports/dblog
/node/add/article -> Date field display
/admin/config/regional/translate
node/%/edit
/node/preview/%/default
/admin/config/system/actions
/admin/content/comment
/admin/structure/types/manage/article/fields/node.article.field_image
/node/add/article (WYSIWYG image editor)
/node/add/%node-with-date-field
/search/node

API changes

None

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Markup  →

Last updated 5 days ago

No maintainer
Created by

🇬🇧United Kingdom LewisNyman

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024