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!

@simurai simurai moved this from Release backlog to Ready to release in 📦 Primer CSS release tracking Oct 16, 2019
@shawnbot shawnbot changed the base branch from master to release-13.2.0 October 22, 2019 18:52
@shawnbot shawnbot mentioned this pull request Oct 22, 2019
15 tasks
@shawnbot shawnbot merged commit 645f630 into release-13.2.0 Oct 23, 2019
📦 Primer CSS release tracking automation moved this from Ready to release to 💜 Done Oct 23, 2019
@shawnbot shawnbot deleted the box-overlay-example branch October 23, 2019 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants