Problem/Motivation
The Varbase site templates needed vertical and horizontal divider options. The horizontal one exists as Divider, so this adds Divider Vertical.
The first MR added the Divider Vertical component and was merged: !219. Testing it on the site template showed it did not follow the content height, so a follow-up MR is open: !220. A Storybook follow-up is open too: !221.
Divider Vertical between three blocks of content:
Divider at its default colour:
Proposed resolution
Follow-up !220, the same in all four themes:
- Divider Vertical follows the content height whatever the Section's vertical alignment. It was 1rem tall in Start and Center sections; the column holding it is now stretched.
- Every side of the divider starts in
var(--bs-border-color). - The "Border width" option is titled "Thickness" (already merged in the first MR, option labels unchanged).
- Colour unchanged: the VB stylesheet divider is
#ebe8e5, which is theborder-secondarydefault.
Tested on fresh Drupal CMS installs of the 1.0.x-dev site template, with drush and with the browser installer, in a real browser at 1280px and 390px: the defaults match the stylesheet colour at 1px, Divider Vertical fills the tallest column in Stretch, Start and Center sections, and there is no horizontal overflow. Storybook stories regenerated.
Storybook follow-up !221: the Divider stories now default to opacity-100 like the component, so the story shows the solid 1px line. In Storybook on a Varbase 11 site with the merged dev theme, both Default stories render #ebe8e5 at 1px with full opacity, and the controls show Thickness.
Storybook, Divider Vertical, Default story:
Storybook, Divider, Default story:
Remaining tasks
- ✅ File an issue
- ✅ Addition/Change/Update/Fix: first MR !219 merged
- ✅ Follow-up MR !220 opened
- ✅ Storybook follow-up MR !221 opened
- ✅ CI pipeline green
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support
- ➖ User Guide Documentation support
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ❌ Reviewed by a human
- ❌ Code review by maintainers
- ❌ Full testing and approval
- ❌ Review and merge the Storybook MR !221
- ❌ Credit contributors
- ❌ Review with the product owner
- ❌ Ship the Divider Vertical Canvas component config in the site-template recipe, after merge
- ❌ Update Release Notes
- ❌ Release
User interface changes
- No colour change.
- The "Border width" option of Divider Vertical is titled "Thickness".
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Divider Vertical follows the content height in every Section alignment.
AI-Generated: Yes
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | vartheme_bs5--divider-story.png | 69.73 KB | rajab natshah |
| #11 | vartheme_bs5--divider-vertical-story.png | 72.27 KB | rajab natshah |
| #6 | vartheme_bs5--divider-default.png | 14.33 KB | rajab natshah |
| #6 | vartheme_bs5--use-case-facts.png | 23.82 KB | rajab natshah |
Issue fork vartheme_bs5-3630284
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #6
rajab natshahFollow-up MR: https://git.drupalcode.org/project/vartheme_bs5/-/merge_requests/220
.row > :has(> .divider-vertical) { align-self: stretch; }var(--bs-border-color), so a divider without a colour class draws in the theme border colour.Colours are unchanged here: the VB stylesheet's divider colour #ebe8e5 is already the
border-secondarydefault.Captured on a fresh Drupal CMS install of the Varbase Starter 1.0.x-dev site template, at 1280px.
A facts strip, three blocks separated by Divider Vertical:

Divider (horizontal) at its default:

AI-Generated: Yes
Comment #7
rajab natshahComment #8
rajab natshahComment #11
rajab natshahComment #13
rajab natshah✅ Released vartheme_bs5-5.0.7