Commit 9ecae6b3 by Dennis Jen Committed by GitHub

Merge pull request #674 from edx/dsjen/update-filter-styles

Wrap long filter names and add some padding.
parents 9c309a10 2359ed9b
...@@ -135,11 +135,13 @@ ...@@ -135,11 +135,13 @@
// bootstrap defaults are to bold the labels // bootstrap defaults are to bold the labels
label { label {
font-weight: normal; font-weight: normal;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block; display: inline-block;
margin: 0; margin: 0;
margin-bottom: $padding-base-vertical;
// indent all lines that wrap so that they're aligned with the text instead of the checkbox
text-indent: -$padding-large-horizontal;
padding-left: $padding-large-horizontal;
} }
// for the set of filters (e.g. label for the collection of checkboxes) // for the set of filters (e.g. label for the collection of checkboxes)
......
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