You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2020/08/01 16:41:51 UTC

[freemarker-docgen] 02/04: programlisting (pre) unwanted extra width fix

This is an automated email from the ASF dual-hosted git repository.

ddekany pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/freemarker-docgen.git

commit b478df03df9d720bd20da2861b0d8bf6598c0e0a
Author: ddekany <dd...@apache.org>
AuthorDate: Sat Aug 1 15:50:24 2020 +0200

    programlisting (pre) unwanted extra width fix
---
 .../main/resources-gulp/org/freemarker/docgen/core/less/lib/base.less    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/freemarker-docgen-core/src/main/resources-gulp/org/freemarker/docgen/core/less/lib/base.less b/freemarker-docgen-core/src/main/resources-gulp/org/freemarker/docgen/core/less/lib/base.less
index 9173b8f..8fdd6be 100644
--- a/freemarker-docgen-core/src/main/resources-gulp/org/freemarker/docgen/core/less/lib/base.less
+++ b/freemarker-docgen-core/src/main/resources-gulp/org/freemarker/docgen/core/less/lib/base.less
@@ -92,6 +92,7 @@ pre {
   /* To prevent the pre stretching the width of its parent, and become scrollable instead: */
   width: 0;
   min-width: 100%;
+  box-sizing: border-box;
   overflow-x: auto;
 
   border: 0;