You've already forked wc-bootstrap
Make category tree items span full parent width (v0.1.9)
Move <a> elements to be direct children of the list-group so they naturally fill the full offcanvas/sidebar width. Chevron toggle moved inside the link with click interception to prevent navigation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
12
CLAUDE.md
12
CLAUDE.md
@@ -345,10 +345,20 @@ The child theme inherits from `wp-bootstrap` via WordPress `Template: wp-bootstr
|
||||
|
||||
## Version History
|
||||
|
||||
Current version: **v0.1.8**
|
||||
Current version: **v0.1.9**
|
||||
|
||||
## Session History
|
||||
|
||||
### 2026-03-29 — v0.1.9 Category Tree Full-Width Items
|
||||
|
||||
**Scope:** Made category tree items span the full parent/offcanvas width.
|
||||
|
||||
**Files modified (3):**
|
||||
|
||||
- `templates/global/category-tree.html.twig` — Added `w-100` to nav and list-group containers
|
||||
- `templates/global/category-tree-node.html.twig` — Made `<a>` elements direct children of the list-group; moved chevron toggle inside the link as a `<span>` with `event.preventDefault()` click interception
|
||||
- `style.css` — Version bump 0.1.8 → 0.1.9
|
||||
|
||||
### 2026-03-29 — v0.1.8 Restyle Category Tree to Idiomatic Bootstrap
|
||||
|
||||
**Scope:** Restyled the category tree sidebar to use Bootstrap's native `list-group-item-action` pattern with subtler active highlighting.
|
||||
|
||||
Reference in New Issue
Block a user