diff --git a/docs/components/dropdowns.md b/docs/components/dropdowns.md index c60cb6fdbb..8b1ae7a67b 100644 --- a/docs/components/dropdowns.md +++ b/docs/components/dropdowns.md @@ -28,6 +28,25 @@ Wrap the dropdown's trigger and the dropdown menu within `.dropdown`, or another {% endexample %} +### Button elements + +You can optionaly use ` + + +{% endexample %} + + + ## Alignment By default, a dropdown menu is automatically positioned 100% from the top and along the left side of its parent. Add `.dropdown-menu-right` to a `.dropdown-menu` to right align the dropdown menu. diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index 734efbb0b0..4ee6674e53 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -65,6 +65,12 @@ color: $dropdown-link-color; white-space: nowrap; // prevent links from randomly breaking onto new lines + // For `