aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-04-03 11:39:46 -0400
committerGitHub <noreply@github.com>2021-04-03 11:39:46 -0400
commit0d2d342cd373798e3daf42799a9f35d974db92f5 (patch)
tree3d140b35271fa8e8ebd4fdd9fee74ff5f7ec0e54 /ext
parentdabda86259d78ee66125ebf2cff15a7619e0b5da (diff)
Fix selectability of kanji text (#1586)
Diffstat (limited to 'ext')
-rw-r--r--ext/css/display.css8
1 files 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 */