From 0d2d342cd373798e3daf42799a9f35d974db92f5 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 3 Apr 2021 11:39:46 -0400 Subject: Fix selectability of kanji text (#1586) --- ext/css/display.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ext/css/display.css b/ext/css/display.css index c8669fa2..79704fb1 100644 --- a/ext/css/display.css +++ b/ext/css/display.css @@ -1652,8 +1652,6 @@ button.definition-item-expansion-button:focus:focus-visible+.definition-item-con line-height: 1; padding: 0.01em; vertical-align: top; - position: relative; - z-index: -1; } .kanji-glyph-data { margin-top: 0.75em; @@ -1703,6 +1701,12 @@ button.definition-item-expansion-button:focus:focus-visible+.definition-item-con .kanji-glossary { white-space: pre-line; } +.kanji-tag-list { + position: relative; +} +.entry[data-type=kanji] .entry-body-section[data-section-type=frequencies] { + position: relative; +} /* Progress bar */ -- cgit v1.2.3