You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/03/09 14:01:09 UTC

[camel-website] branch master updated: Fixed articles left and right margins

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

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new a51cc0e  Fixed articles left and right margins
a51cc0e is described below

commit a51cc0e587e893dd96904276a5507fd89034056b
Author: Dzekem Christa <cd...@gmail.com>
AuthorDate: Sun Mar 8 16:13:33 2020 +0100

    Fixed articles left and right margins
---
 antora-ui-camel/src/css/doc.css | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/antora-ui-camel/src/css/doc.css b/antora-ui-camel/src/css/doc.css
index 90217b7..30efd47 100644
--- a/antora-ui-camel/src/css/doc.css
+++ b/antora-ui-camel/src/css/doc.css
@@ -2,7 +2,8 @@
   color: var(--doc-font-color);
   font-size: var(--doc-font-size);
   line-height: var(--doc-line-height);
-  margin: var(--doc-margin);
+  margin-left: auto;
+  margin-right: auto;
   max-width: var(--doc-max-width);
   padding: 0 1rem 4rem;
 }
@@ -10,7 +11,8 @@
 @media screen and (min-width: 1024px) {
   .doc {
     font-size: var(--doc-font-size--desktop);
-    margin: var(--doc-margin--desktop);
+    margin-left: auto;
+    margin-right: auto;
     max-width: var(--doc-max-width--desktop);
   }
 }