FIX: words nested in <kbd> disappear when searched

This commit is contained in:
Régis Hanol 2015-03-02 17:00:05 +01:00
parent 96f240283b
commit 2a7af5e718
1 changed files with 5 additions and 1 deletions

View File

@ -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