fix: #3630284 Make the dividers follow the content and the design system

Follow-up to the merged Divider Vertical work, from testing every site template on Drupal CMS 1.0.x-dev.

  • Height follows the content: in a Section set to Start or Center, the divider was only 1rem tall. The column that holds it is now stretched (.row > :has(> .divider-vertical) { align-self: stretch; }), so it runs the full height of the tallest column whatever the vertical alignment.
  • Every side of Divider Vertical starts in var(--bs-border-color), so a divider without a colour class always draws in the theme border colour.
  • Colours unchanged: the VB stylesheet's divider is subtle/secondary-subtle #ebe8e5, which is already --bs-secondary, the border-secondary default.
  • Stories regenerated with drush storybook:generate-stories.

Tested on fresh Drupal CMS installs (drush and the browser installer) of Varbase Starter, Educare, Horizon Aid and The Rightup, in a real browser at 1280px and 390px: Divider and Divider Vertical defaults match each template's Figma stylesheet (colour and 1px), the divider fills the tallest column in Stretch, Start and Center sections with no horizontal overflow, and in a Row between Columns (a facts strip) it matches the blocks' height.

AI disclosure: prepared with Claude Code (Anthropic) and reviewed by a human.

Remaining tasks

  • File an issue about this project
  • Addition/Change/Update/Fix to this project
  • Testing to ensure no regression
  • Automated unit/functional testing coverage
  • Developer Documentation support on feature change/addition
  • User Guide Documentation support on feature change/addition
  • UX/UI designer responsibilities
  • Accessibility and Readability
  • Reviewed by a human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Update Release Notes and Update Helper on new feature change/addition
  • Release

Related to #3630284

Edited by Rajab Natshah

Merge request reports

Loading
Loading