0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-23 15:19:48 +01:00
Patrick H. Lauke cda901f244
v5/docs: reintroduce outline for docs code samples, buttons when :not(:focus-visible) ()
* Remove outline suppression for focused `<pre>`

Sighted keyboard users rely on knowing where their focus is. If the `<pre>` receives focus (so that it can be scrolled by keyboard users, for instance) then it's essential that they know this is the case

* Only suppress outline for buttons when `:not(:focus-visible)`

* Add right-hand margin to pre

avoids having the focus outline awkwardly clipped by the copy button
2022-08-31 18:30:23 -07:00
..
2022-05-20 10:28:31 -07:00
2021-06-22 20:11:39 +03:00
2022-05-30 09:26:41 -07:00
2022-04-12 18:36:50 -07:00
2021-11-25 13:56:32 -10:00
2022-04-30 12:55:27 -07:00