mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-02 21:21:37 +02:00
Add keytraps to keep focus within modal windows (re: #8004)
This commit is contained in:
@@ -234,6 +234,15 @@ textarea.mixed::placeholder {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* keytraps need to be invisible yet not be display:none or visibility:hidden */
|
||||
.keytrap {
|
||||
width: 0;
|
||||
height: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* tables */
|
||||
table {
|
||||
background-color: #fff;
|
||||
|
||||
Reference in New Issue
Block a user