FIX: words nested in <kbd> disappear when searched
This commit is contained in:
parent
96f240283b
commit
2a7af5e718
|
@ -179,7 +179,11 @@ kbd
|
|||
margin: 0 .1em;
|
||||
padding: .1em .6em;
|
||||
|
||||
* * { display: none; }
|
||||
// don't allow more than 3 nested elements to prevent FF from crashing
|
||||
// cf. http://what.thedailywtf.com/t/nested-elements/7927
|
||||
// 3 levels are needed to prevent highlighted words being hidden
|
||||
// cf. https://meta.discourse.org/t/word-disappears-when-searched-and-in-details-summary-kbd-b/25741
|
||||
* * * { display: none; }
|
||||
}
|
||||
|
||||
// we assume blockquotes have their own margins, so all blockquotes
|
||||
|
|
Loading…
Reference in New Issue