Repository navigation
fix: properly exposes scss for reuse - #79
Merged
Merged
Conversation
yashrajsharan18
added a commit
to yashrajsharan18/payload
that referenced
this pull request
Aug 8, 2026
Dynogic
added a commit
to Dynogic/payload
that referenced
this pull request
Sep 5, 2026
… and tabs, stamped as data-width-tier A collection/global declares its document view's width tier (form 950 | wide 1280 | editor 1600 | fullbleed) via admin.custom.widthTier; a tab overrides it while active via tab.admin.custom.widthTier. DocumentFields stamps the resolved tier on .document-fields (never inside a drawer, never in the live-preview pane); TabContent stamps the active tab's tier on its content div (SSR-correct via payloadcms#78) and finally applies tab.admin.className. SCSS caps + centers .document-fields, letting any descendant stamp override the root's tier (widest wins); the form tier fixes a 638px fields column beside a reserved side column. Tokens (--page-width-*, --page-fields-column) are the consuming app's, px references as fallbacks. Shared helpers exported from payload/shared. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01T5GJo9SrABCxiZpYHWzrHg
Dynogic
added a commit
to Dynogic/payload
that referenced
this pull request
Sep 5, 2026
…ocuments and tabs, stamped as data-width-tier" This reverts commit ee0e6e7.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes the way that SCSS variables are exposed and also removes reliance on CSS variables in the admin panel's entry point file. The entry component does not re-render, which means that if the CSS variables are not set before first render, their values will not be able to be used.
Type of change
Checklist: