From da960a721f12156dfea077d356a6d6d110250bac Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Tue, 28 Jun 2016 10:09:12 +0100 Subject: [PATCH] Vertical layout for LaTeX examples. --- services/web/public/stylesheets/app/wiki.less | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/services/web/public/stylesheets/app/wiki.less b/services/web/public/stylesheets/app/wiki.less index 210230989c..2bc962961f 100644 --- a/services/web/public/stylesheets/app/wiki.less +++ b/services/web/public/stylesheets/app/wiki.less @@ -39,6 +39,13 @@ } .example { + max-width: 100%; + + & > div { + display: block !important; + width: auto !important; + } + .code { pre { background-color: @gray-lightest; @@ -49,6 +56,9 @@ } } .output { + text-align: center; + padding-top: 10px; + img { width: auto !important; height: auto !important;