mirror of https://github.com/twbs/bootstrap.git
Remove `outline: 0` from modals
This was [added about 12 years ago](https://github.com/twbs/bootstrap/pull/10951) and is no longer needed from what I can tell. I've tested with Chrome 133 and Edge 122 on Windows 11. The modal itself is never focused anyway, when the modal opens the focus is only within the modal.
This commit is contained in:
parent
bafa9d25ed
commit
b475720e42
|
@ -41,9 +41,6 @@
|
|||
height: 100%;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
// Prevent Chrome on Windows from adding a focus outline. For details, see
|
||||
// https://github.com/twbs/bootstrap/pull/10951.
|
||||
outline: 0;
|
||||
// We deliberately don't use `-webkit-overflow-scrolling: touch;` due to a
|
||||
// gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342
|
||||
// See also https://github.com/twbs/bootstrap/issues/17695
|
||||
|
|
Loading…
Reference in New Issue