aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorKonstantin Chernenko <kb.chernenko@gmail.com>2023-08-04 12:30:20 +0200
committerGitHub <noreply@github.com>2023-08-04 12:30:20 +0200
commitec95267a8bcb92733e506a41e7cc6305b1ff0552 (patch)
tree0d97e77aa81c5c580c38450aedfb68ba19b196c5 /plugins/base
parente7af2fd28ed46f02046ea329a8e6707a2e217bd6 (diff)
downloaddokka-ec95267a8bcb92733e506a41e7cc6305b1ff0552.tar.gz
dokka-ec95267a8bcb92733e506a41e7cc6305b1ff0552.tar.bz2
dokka-ec95267a8bcb92733e506a41e7cc6305b1ff0552.zip
Add scroll to tables viewed from mobile devices (#3082)
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css
index ab48a7db..7f6e4b0d 100644
--- a/plugins/base/src/main/resources/dokka/styles/style.css
+++ b/plugins/base/src/main/resources/dokka/styles/style.css
@@ -785,7 +785,6 @@ code:not(.block) {
padding-left: 23px;
}
-
.sideMenuPart a:hover {
text-decoration: none;
color: var(--default-font-color);
@@ -973,6 +972,14 @@ h1.cover {
word-break: break-word;
}
+@media (max-width: 960px) {
+ .UnderCoverText table {
+ display: block;
+ word-break: normal;
+ overflow: auto;
+ }
+}
+
.main-content a:not([data-name]) {
padding-bottom: 2px;
border-bottom: 1px solid var(--border-color);