+ You can add the is-right modifier to have a right-aligned dropdown.
+
diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css index a4a7dcd0..c238e9c1 100644 --- a/docs/css/bulma-docs.css +++ b/docs/css/bulma-docs.css @@ -3429,16 +3429,20 @@ input[type="submit"].button { .container { margin: 0 auto; - max-width: 960px; position: relative; - width: 960px; } -.container.is-fluid { - margin-left: 24px; - margin-right: 24px; - max-width: none; - width: auto; +@media screen and (min-width: 1008px) { + .container { + max-width: 960px; + width: 960px; + } + .container.is-fluid { + margin-left: 24px; + margin-right: 24px; + max-width: none; + width: auto; + } } @media screen and (max-width: 1199px) { @@ -3782,6 +3786,11 @@ input[type="submit"].button { display: block; } +.dropdown.is-right .dropdown-menu { + left: auto; + right: 0; +} + .dropdown-menu { display: none; left: 0; diff --git a/docs/documentation/components/dropdown.html b/docs/documentation/components/dropdown.html index 311ea8e8..20227caa 100644 --- a/docs/documentation/components/dropdown.html +++ b/docs/documentation/components/dropdown.html @@ -127,6 +127,46 @@ doc-subtab: dropdown {% endcapture %} +{% capture dropdown_left_example %} +
+ You can add the is-right modifier to have a right-aligned dropdown.
+