aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/sonar-docs/src/layouts/layout.css2
-rw-r--r--server/sonar-docs/src/pages/instance-administration/plugin-version-matrix.md2
-rw-r--r--server/sonar-web/src/main/js/apps/documentation/styles.css11
3 files changed, 14 insertions, 1 deletions
diff --git a/server/sonar-docs/src/layouts/layout.css b/server/sonar-docs/src/layouts/layout.css
index 90bab24862d..d13c61f7b2d 100644
--- a/server/sonar-docs/src/layouts/layout.css
+++ b/server/sonar-docs/src/layouts/layout.css
@@ -28,6 +28,8 @@ body,
iframe {
width: 100%;
border: 0;
+ overflow-y: auto;
+ height: 70vh;
}
.blue-bar {
diff --git a/server/sonar-docs/src/pages/instance-administration/plugin-version-matrix.md b/server/sonar-docs/src/pages/instance-administration/plugin-version-matrix.md
index 4fcf7715751..a5d07060917 100644
--- a/server/sonar-docs/src/pages/instance-administration/plugin-version-matrix.md
+++ b/server/sonar-docs/src/pages/instance-administration/plugin-version-matrix.md
@@ -8,4 +8,4 @@ url: /instance-administration/plugin-version-matrix/
[Open in a new window](https://update.sonarsource.org/plugins/compatibility-matrix.html)
-<iframe src="https://update.sonarsource.org/plugins/compatibility-matrix.html" height="3100">Your browser does not support iframes.</iframe>
+<iframe src="https://update.sonarsource.org/plugins/compatibility-matrix.html">Your browser does not support iframes.</iframe>
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 b9704237c8c..599e453ead6 100644
--- a/server/sonar-web/src/main/js/apps/documentation/styles.css
+++ b/server/sonar-web/src/main/js/apps/documentation/styles.css
@@ -36,6 +36,17 @@
line-height: 1.7;
}
+.documentation-content .markdown-content {
+ width: 100%;
+}
+
+.documentation-content.markdown iframe {
+ width: 100%;
+ border: 0;
+ overflow-y: auto;
+ height: 65vh;
+}
+
.documentation-content.markdown .documentation-title {
font-size: 24px;
padding-top: var(--gridSize);