diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2017-10-24 19:07:30 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-12-08 12:09:41 +0100 |
commit | c07df632ec474e0eff5393467939eb455035620b (patch) | |
tree | 2f214a967c0e50f0673de2124012654c719d375e /doc/development | |
parent | 72954bc7b76d939fef1ab90fbab137968bd5d890 (diff) | |
download | gitlab-ce-c07df632ec474e0eff5393467939eb455035620b.tar.gz |
Make label delete option redwinh-cleanup-dropdowns
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/fe_guide/dropdowns.md | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/doc/development/fe_guide/dropdowns.md b/doc/development/fe_guide/dropdowns.md index e1660ac5caa..6314f8f38d2 100644 --- a/doc/development/fe_guide/dropdowns.md +++ b/doc/development/fe_guide/dropdowns.md @@ -4,15 +4,15 @@ ## How to style a bootstrap dropdown 1. Use the HTML structure provided by the [docs][bootstrap-dropdowns] 1. Add a specific class to the top level `.dropdown` element - - + + ```Haml .dropdown.my-dropdown %button{ type: 'button', data: { toggle: 'dropdown' }, 'aria-haspopup': true, 'aria-expanded': false } %span.dropdown-toggle-text Toggle Dropdown = icon('chevron-down') - + %ul.dropdown-menu %li %a @@ -29,10 +29,4 @@ item! ``` -1. Include the mixin in CSS - - ```SCSS - @include new-style-dropdown('.my-dropdown '); - ``` - [bootstrap-dropdowns]: https://getbootstrap.com/docs/3.3/javascript/#dropdowns |