Fix word wraps for disclosure
This commit is contained in:
parent
62ff9e8f77
commit
0ee928a737
@ -45,16 +45,17 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Test Title <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 7">
|
<summary>
|
||||||
<path
|
Test Title
|
||||||
fill="none"
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 7">
|
||||||
fillRule="evenodd"
|
<path
|
||||||
stroke="currentColor"
|
fill="none"
|
||||||
strokeWidth="2"
|
fillRule="evenodd"
|
||||||
d="M1 1l4.025 4L9 1.05"
|
stroke="currentColor"
|
||||||
/>
|
strokeWidth="2"
|
||||||
</svg>
|
d="M1 1l4.025 4L9 1.05"
|
||||||
|
/>
|
||||||
|
</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