You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2021/05/22 02:12:48 UTC

[apisix-website] branch master updated: style: add max-width to doc-container (#348)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3237b40  style: add max-width to doc-container (#348)
3237b40 is described below

commit 3237b40a742d5382abceae1e88092c84dc17c735
Author: Shivam Singh <57...@users.noreply.github.com>
AuthorDate: Sat May 22 07:42:41 2021 +0530

    style: add max-width to doc-container (#348)
---
 website/src/theme/DocPage/styles.module.css | 1 +
 1 file changed, 1 insertion(+)

diff --git a/website/src/theme/DocPage/styles.module.css b/website/src/theme/DocPage/styles.module.css
index 2cd1d3b..7edf637 100644
--- a/website/src/theme/DocPage/styles.module.css
+++ b/website/src/theme/DocPage/styles.module.css
@@ -52,6 +52,7 @@
 
   .docMainContainer {
     flex-grow: 1;
+    max-width: calc(100% - var(--doc-sidebar-width));
   }
 
   .docItemWrapperEnhanced {