diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2019-01-10 14:44:16 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-01-16 09:42:57 +0100 |
commit | d2ad1ae864f54d37bb1141f197624088ea6f4938 (patch) | |
tree | a3503e047c30473607fac5493fdb45c92bfd74a3 | |
parent | 933f5b5f31726704a48ec64142c1d9b1ad786cff (diff) | |
download | sonarqube-d2ad1ae864f54d37bb1141f197624088ea6f4938.tar.gz sonarqube-d2ad1ae864f54d37bb1141f197624088ea6f4938.zip |
Fix display for pages with long code snippets
-rw-r--r-- | server/sonar-web/src/main/js/apps/documentation/styles.css | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/documentation/styles.css b/server/sonar-web/src/main/js/apps/documentation/styles.css index 9d443ce281e..7faf301a007 100644 --- a/server/sonar-web/src/main/js/apps/documentation/styles.css +++ b/server/sonar-web/src/main/js/apps/documentation/styles.css @@ -120,15 +120,18 @@ .markdown.has-toc { display: flex; - padding-right: var(--gridSize); } .markdown.has-toc .markdown-content { flex-shrink: 1; + overflow: hidden; + text-overflow: ellipsis; + overflow-x: auto; } .markdown-toc { flex: 0 0 240px; + margin-right: -40px; } .markdown-toc-content { |