]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Enforce maximum width on chart editor blocks in the docs (#10447)
authorIgor Lukanin <me@igorlukanin.io>
Wed, 29 Jun 2022 13:38:00 +0000 (17:38 +0400)
committerGitHub <noreply@github.com>
Wed, 29 Jun 2022 13:38:00 +0000 (16:38 +0300)
* Enforce max width on chart editor blocks

* Shrink the chart view rather than the whole chart editor

docs/.vuepress/styles/index.styl

index 3f4f2001b1707554a4214cfd5134909c227da848..612daf1f3e6522acdea19261d8d05be8678a7d50 100644 (file)
@@ -3,6 +3,9 @@
 .theme-default-content
   &:not(.custom)
     max-width: unset
+  
+  .chart-view
+    max-width 800px
 
 .sidebar-group.is-sub-group.depth-1
   > .sidebar-group-items