diff --git a/docs/bulma-docs.sass b/docs/bulma-docs.sass index 3fedb378..75016141 100644 --- a/docs/bulma-docs.sass +++ b/docs/bulma-docs.sass @@ -294,7 +294,7 @@ html.route-index #carbon border-top: none margin-top: -1.5rem pre - max-height: 600px + max-height: 50vh &:not(:last-child) margin-bottom: 1.5rem diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css index 5202ac16..7703258d 100644 --- a/docs/css/bulma-docs.css +++ b/docs/css/bulma-docs.css @@ -6662,7 +6662,7 @@ html.route-index #carbon { } .example + .highlight pre { - max-height: 600px; + max-height: 50vh; } .example + .highlight:not(:last-child) { diff --git a/docs/documentation/components/nav.html b/docs/documentation/components/nav.html index 7497fe0f..03a9807d 100644 --- a/docs/documentation/components/nav.html +++ b/docs/documentation/components/nav.html @@ -40,7 +40,7 @@ doc-subtab: nav {% endcapture %} -
nav-item
can become active by adding the is-active
modifiernav-item
can become a tab by adding the is-tab
modifier
+ To optimise the space on desktop, but also allow the mobile view to be usable, you can duplicate nav items in both nav-left
and nav-right
, and show/hide them with responsive helpers.
+