Browse Source

Remove vertical spacing from breadcrumb

pull/2743/head
jlukic 9 years ago
parent
commit
77f1d7c4dd
3 changed files with 4 additions and 2 deletions
  1. 2
      RELEASE-NOTES.md
  2. 2
      src/definitions/collections/breadcrumb.less
  3. 2
      src/themes/default/collections/breadcrumb.variables

2
RELEASE-NOTES.md

@ -4,6 +4,7 @@
**[Enhancements](https://github.com/Semantic-Org/Semantic-UI/issues?q=is%3Aissue+milestone%3A2.1.0+is%3Aclosed)**
- **Breadcrumb** - Breadcrumb no longer receives vertical spacing by default. This may often cause vertical alignment issues when displayed next to other `inline-block` content.
- **Menu** - Appearance of `labeled icon menu` has been modified. Horizontal menus now have icons above text, and icons are slightly larger than before.
**[Reported Bugs](https://github.com/Semantic-Org/Semantic-UI/issues?q=is%3Aissue+milestone%3A2.1.0+is%3Aclosed)**
@ -13,6 +14,7 @@
**Additional Bugs**
- **Menu** - Added `flex: 0 0 auto` to menu item to make sure menu do not collapse text content to reduce space
- **Menu** - Fixed issue with `labeled input` text inside menu not appearing vertically centered
**[Merged PR](https://github.com/Semantic-Org/Semantic-UI/issues?q=is%3Aissue+milestone%3A2.1.0+is%3Aclosed)**

2
src/definitions/collections/breadcrumb.less

@ -25,8 +25,8 @@
.ui.breadcrumb {
line-height: 1;
margin: @verticalMargin 0em;
display: @display;
margin: @verticalMargin 0em;
vertical-align: @verticalAlign;
}
.ui.breadcrumb:first-child {

2
src/themes/default/collections/breadcrumb.variables

@ -6,7 +6,7 @@
Breadcrumb
--------------------*/
@verticalMargin: 1em;
@verticalMargin: 0em;
@display: inline-block;
@verticalAlign: middle;

Loading…
Cancel
Save