Skip to content
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

Update Subhead actions #1690

Merged
merged 4 commits into from
Oct 26, 2021
Merged

Update Subhead actions #1690

merged 4 commits into from
Oct 26, 2021

Conversation

simurai
Copy link
Contributor

@simurai simurai commented Oct 20, 2021

This makes this dotcom hack the default behavior:

  • Keep Subhead-actions on the right when wrapped
  • Add a bit more margin
Screen.Recording.2021-10-20.at.17.33.14.mov
  • Keep Subhead-actions on the right when wrapped

This is currently needed because on desktop the Subhead-actions is on the right and can contain a dropdown that most likely uses the dropdown-menu-sw direction. In that case it would get cut off on mobile when on the left :

Screen Shot 2021-10-19 at 15 48 42

@changeset-bot
Copy link

changeset-bot bot commented Oct 20, 2021

🦋 Changeset detected

Latest commit: f991ba9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/css Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@simurai simurai enabled auto-merge (squash) October 26, 2021 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants