#inline-list-object.style-guide__subsection
%h3= link_to_style_guide('objects', 'inline_list')
%p Resets the list-specific styling of a ul
or ol
element, and displays each child li
element as inline-block
.
.style-guide__unit-test
%h4 Unit Test
%p should work with ul
elements
.style-guide__example-block
%ul.inline-list
- 5.times do |i|
%li List Item #{i}
%p should work with ol
elements
.style-guide__example-block
%ol.inline-list
- 5.times do |i|
%li List Item #{i}
#inline-list-commas-object.style-guide__subsection
%h3= link_to_style_guide('objects', 'inline_list__commas')
%p Adds commas to delineate list items.
.style-guide__unit-test
%h4 Unit Test
%p should work with ul
elements
.style-guide__example-block
%ul.inline-list.inline-list--commas
- 5.times do |i|
%li List Item #{i}
%p should work with ol
elements
.style-guide__example-block
%ol.inline-list.inline-list--commas
- 5.times do |i|
%li List Item #{i}