You've already forked wp-bootstrap
fix: scope admin bar offcanvas padding to mobile viewports (v1.0.12)
Wrap the offcanvas padding-top rule in a max-width: 991.98px media query so it only applies when the offcanvas is active, not on wide screens where the navbar renders inline. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [1.0.12] - 2026-02-28
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Admin bar offcanvas padding on desktop** (`functions.php`): Scoped the admin bar offcanvas padding fix to mobile viewports only (`max-width: 991.98px`) so the extra padding does not appear on wide screens where the offcanvas renders inline as a regular navbar.
|
||||
|
||||
## [1.0.11] - 2026-02-28
|
||||
|
||||
### Changed
|
||||
|
||||
Reference in New Issue
Block a user