forked from CringeStudios/gamja
Make <summary> easier to click on Firefox Mobile
Add role=button to mark the element as a touch target. Closes: https://todo.sr.ht/~emersion/gamja/80
This commit is contained in:
parent
41c113be9a
commit
6b75985f96
@ -121,7 +121,7 @@ export default class ConnectForm extends Component {
|
|||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Advanced options</summary>
|
<summary role="button">Advanced options</summary>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ export default class NetworkForm extends Component {
|
|||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Advanced options</summary>
|
<summary role="button">Advanced options</summary>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
@ -62,7 +62,6 @@ button {
|
|||||||
background: var(--button-background);
|
background: var(--button-background);
|
||||||
transition: background 0.25s linear;
|
transition: background 0.25s linear;
|
||||||
color: var(--button-color);
|
color: var(--button-color);
|
||||||
cursor: pointer;
|
|
||||||
padding: 0.25rem 0.5rem;
|
padding: 0.25rem 0.5rem;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: var(--button-border);
|
border-color: var(--button-border);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user