Commit 69166b22 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Add separator as a line divider

parent bd1fbe18
......@@ -249,9 +249,12 @@ class GitLabDropdown
renderItem: (data) ->
html = ""
# Separator
# Divider
return "<li class='divider'></li>" if data is "divider"
# Separator is a full-width divider
return "<li class='separator'></li>" if data is "separator"
# Header
return "<li class='dropdown-header'>#{data.header}</li>" if data.header?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment