mirror of
https://github.com/primer/css.git
synced 2025-01-04 12:22:17 +03:00
Update box-overlay.md
This commit is contained in:
parent
92599763be
commit
944a483d91
@ -14,7 +14,7 @@ Box overlays come in three widths. The default `Box--overlay` is 440px wide, `Bo
|
||||
|
||||
```html live
|
||||
|
||||
<details class="details-reset details-overlay">
|
||||
<details class="details-reset details-overlay details-overlay-dark">
|
||||
<summary class="btn" aria-haspopup="dialog">Open dialog</summary>
|
||||
<details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast">
|
||||
<div class="Box-header">
|
||||
@ -53,7 +53,7 @@ Box overlays come in three widths. The default `Box--overlay` is 440px wide, `Bo
|
||||
|
||||
<!-- Temporary overrides (don't use in production) -->
|
||||
<style> .frame-example { min-height: 500px; } </style>
|
||||
<link href="https://unpkg.com/@github/details-dialog-element/index.css" rel="stylesheet" />
|
||||
<link href="https://unpkg.com/@github/details-dialog-element/dist/index.css" rel="stylesheet" />
|
||||
```
|
||||
|
||||
[aria attributes]: https://www.w3.org/TR/html-aria/#allowed-aria-roles-states-and-properties
|
||||
|
Loading…
Reference in New Issue
Block a user