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

Fix Box--overlay example #939

Merged
merged 3 commits into from
Oct 23, 2019
Merged

Fix Box--overlay example #939

merged 3 commits into from
Oct 23, 2019

Conversation

simurai
Copy link
Contributor

@simurai simurai commented Oct 11, 2019

This fixes the .Box--overlay example by:

  • using <svg> for the octicon.
  • linking the details-dialog-element styles that .Box--overlay depends on.
  • adding a .frame-example class that then gets used to customize the example. It adds some min-height so the dialog doesn't get cut off. It lets us avoid using extra wrapper elements that then might get copy&pasted for use in production. It still shows up in the code part, but it's more separated at the bottom with a warning.

image


Closes #936 (for now)

@vercel
Copy link

vercel bot commented Oct 11, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/primer/primer-css/l7tx0sq5m
🌍 Preview: https://primer-css-git-box-overlay-example.primer.now.sh

Copy link
Contributor

@shawnbot shawnbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for this!

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