Less invasive fix for form-text class problem

Created on 25 October 2024, 5 months ago

Problem/Motivation

Drupal core provides a form-text class to some fields (i. e. text fields). form-text class also has a special meaning in Bootstrap. So this collides in some points and Bootstrap5 theme is setting $form-text-margin-top variable to fix this issue I suppose.
But this does also affect the "regular" use of the Bootstrap form-text class, and you may not be able to easily override the variable yourself.

Steps to reproduce

Proposed resolution

I would propose to not set the Bootstrap variable, but instead fix the issue in the Drupal styles, by setting a zero margin to input.form-text selector. This fixes the issue with the form-text class from Drupal, but still let us make use of the Bootstrap form-text class if we want to and override the Bootstrap variable in case.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

4.0

Component

Documentation

Created by

🇩🇪Germany stefan.korn Jossgrund

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024