You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ssr): drive admin-sidebar gutter via CSS var (no logged-in reload shift)
For an authenticated user a hard reload shifted the page right by the
admin-sidebar width when the SSR freeze-frame was removed: the
.outer-wrapper gutter came from the @slideSidebarPadding animation whose
width is read from a browser-only CSS-variable store, so the server
rendered padding-left:0 and the browser then resolved the real width.
Drive the gutter from a CSS class (ds-admin-sidebar-{hidden,unpinned,
pinned}) resolving padding-left from the --ds-admin-sidebar-* custom
properties, identically on server and browser. Pin/unpin slide preserved
via ds-admin-sidebar-animate, gated behind gutterTransitionEnabled
(enabled after first paint). Applied to the base root component and the
active datashare themed root.
Mirrors mendelu DSpace#1355 (backport of DSpace#1333). Refs
dataquest-dev/dspace-customers#717.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments