Fix word wraps for disclosure
This commit is contained in:
parent
62ff9e8f77
commit
0ee928a737
@ -45,7 +45,9 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Test Title <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 7">
|
<summary>
|
||||||
|
Test Title
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 7">
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
fillRule="evenodd"
|
fillRule="evenodd"
|
||||||
@ -54,7 +56,6 @@
|
|||||||
d="M1 1l4.025 4L9 1.05"
|
d="M1 1l4.025 4L9 1.05"
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
||||||
</summary>
|
</summary>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@ -85,7 +86,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
* 57 lines of code
|
* 58 lines of code
|
||||||
* Keyboard & screen reader support
|
* Keyboard & screen reader support
|
||||||
* `open` attribute lets us style the summary differently if it's open or closed
|
* `open` attribute lets us style the summary differently if it's open or closed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user