From ec95267a8bcb92733e506a41e7cc6305b1ff0552 Mon Sep 17 00:00:00 2001 From: Konstantin Chernenko Date: Fri, 4 Aug 2023 12:30:20 +0200 Subject: Add scroll to tables viewed from mobile devices (#3082) --- plugins/base/src/main/resources/dokka/styles/style.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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); -- cgit