8d1e093ae8
* feat(techdocs): make sidebar positioning configurable via CSS custom properties Replace hardcoded Backstage app sidebar widths (224px/72px) in the TechDocs layout CSS with CSS custom properties that inherit through the shadow DOM boundary, allowing apps with custom sidebar widths to override the defaults. - `--techdocs-sidebar-closed-offset-pinned` (default: 224px) - `--techdocs-sidebar-closed-offset-collapsed` (default: 72px) - `--techdocs-sidebar-open-translate` (default: 16rem) Also extract all magic values into named constants. Signed-off-by: Johan Persson <johanopersson@gmail.com> * Add PR #33908 to patch release Signed-off-by: Johan Persson <johanopersson@gmail.com> --------- Signed-off-by: Johan Persson <johanopersson@gmail.com>
1 line
72 B
Plaintext
1 line
72 B
Plaintext
Make TechDocs sidebar positioning configurable via CSS custom properties |