-
Notifications
You must be signed in to change notification settings - Fork 30
Fix labs front containers for pageskins #15077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| `; | ||
|
|
||
| const positionStyles = css` | ||
| const positionStyles = (hasPageSkin: boolean) => css` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the Details component does not accept arrays of Emotion CSS (SerializedStyles) for the positionStyles prop, so we need to use a function here instead of multiple conditional styles as we would normally do elsewhere
deedeeh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks good @cemms1 and the new story ✨ Now we shouldn't be worried when we have pageskins.
What does this change?
Ensures that the styles applying from
leftColare only applied wherehasPageSkinis not trueWhy?
There are visual issues on the UK Lifestyle front since the new labs header did not take into account necessary layout changes with page skins
Screenshots