Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Bootstrap 4.5.3 was released Oct 13, 2020
https://github.com/twbs/bootstrap/releases/tag/v4.5.3
CSS
- #31653: Add a comment to our
escape-svg
function to note that data URIs must be quoted.- #31693: Use the
custom-control
shadow variable instead of the genericinput-focus-box-shadow
.- #31793: Backport some v5 changes (improved
th
styling in Reboot, custom form field styling when printing, and improvements to.text-break
).
- #29714: Keep custom check, radio, and switch theme when printing.
- #30781: Reboot's
th
updates: Inheritfont-weight: bold
that comes from user agent stylesheets.- #30932:
.text-break
changes to dropoverflow-wrap
and useword-wrap
once again- #31754: Improve versions page rendering (also reversed the order while I was here)
- #31846: Backports the z-index change to
.close
buttons in dismissible.alert
s.JS
- #31000: Avoid multiple change event trigger in buttons plugin. Not applicable to v5 since our button JS plugin has been mostly replaced with pure CSS.
- #31673: Fix dropdown variable always evaluating to true.
- #31696: Ensure
hidePrevented.bs.modal
can be prevented.- #31718: Backports new
$dropdown-padding-x
variable from v5.Docs
- #30811: Mention GPU acceleration fix in docs callout for popovers. Doesn't apply to v5 since we're updating to Popper v2.
- #30838: Explain the
dispose
method more appropriately.- #31706: Backports updated margins for code snippets for improved readability.
- #31769: Backports JS bundle guidance from v5.
- #31851: Backports mention of missing
to
andnextwhenvisible
methods.Misc
- #31297: Switch to xo ESLint config
- Updated devDependencies versions
Proposed resolution
-
Update to the Bootstrap library to 4.5.3 for Vartheme BS4 and VARTHEM_BS4_SUBTHEME
- Add the new bootstrab variable
$table-th-font-weight: null !default;
https://github.com/twbs/bootstrap/blob/v4.5.3/scss/_variables.scss#L366 - Add the new bootstrab variable
$dropdown-padding-x: 0 !default;
https://github.com/twbs/bootstrap/blob/v4.5.3/scss/_variables.scss#L759
Comment | File | Size | Author |
---|---|---|---|
#9 | bootstrap40503.png | 112.4 KB | Rajab Natshah |
Comments
Comment #2
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #3
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #4
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #5
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #6
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #7
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #9
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #10
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #11
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #12
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedgulp compile
yarn phpcs
yarn phpcbf
yarn eslint
yarn stylelint
Comment #13
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commented