Browse Source

Fixes #1667 mistake with relative sizes in sized lists. Removes padding from child lists of relaxed lists

pull/1698/merge
jlukic 9 years ago
parent
commit
0801cb059e
2 changed files with 9 additions and 19 deletions
  1. 2
      RELEASE-NOTES.md
  2. 26
      src/definitions/elements/list.less

2
RELEASE-NOTES.md

@ -10,7 +10,7 @@
- **Search** - Greatly reduced search delay from `300ms` to `100ms`. Previous request will automatically abort `xhr` when new request made
**Bugs**
- **List** - `relaxed list` and `very relaxed list` no longer add padding to child menu items
- **Button** - Fixes formatting for `disabled button` inside `ui buttons`
- **Button** - ``ui vertical basic buttons` now have dividers in default theme
- **API** - Fixed bug where API would query resource immediately when specifying `on: false`

26
src/definitions/elements/list.less

@ -789,7 +789,6 @@ ol.ui.horizontal.list li:before,
Relaxed
--------------------*/
.ui.relaxed.list:not(.horizontal) .list > .item,
.ui.relaxed.list:not(.horizontal) > .item {
padding-top: @relaxedVerticalPadding;
padding-bottom: @relaxedVerticalPadding;
@ -804,7 +803,6 @@ ol.ui.horizontal.list li:before,
}
/* Very Relaxed */
.ui[class*="very relaxed"].list:not(.horizontal) .list > .item,
.ui[class*="very relaxed"].list:not(.horizontal) > .item {
padding-top: @veryRelaxedVerticalPadding;
padding-bottom: @veryRelaxedVerticalPadding;
@ -823,36 +821,28 @@ ol.ui.horizontal.list li:before,
Sizes
--------------------*/
.ui.mini.list .list > .item,
.ui.mini.list > .item {
.ui.mini.list {
font-size: @relativeMini;
}
.ui.tiny.list .list > .item,
.ui.tiny.list > .item {
.ui.tiny.list {
font-size: @relativeTiny;
}
.ui.small.list .list > .item,
.ui.small.list > .item {
.ui.small.list {
font-size: @relativeSmall;
}
.ui.list .list > .item,
.ui.list > .item {
.ui.list {
font-size: @relativeMedium;
}
.ui.large.list .list > .item,
.ui.large.list > .item {
.ui.large.list {
font-size: @relativeLarge;
}
.ui.big.list .list > .item,
.ui.big.list > .item {
.ui.big.list {
font-size: @relativeBig;
}
.ui.huge.list .list > .item,
.ui.huge.list > .item {
.ui.huge.list {
font-size: @relativeHuge;
}
.ui.massive.list .list > .item,
.ui.massive.list > .item {
.ui.massive.list {
font-size: @relativeMassive;
}

Loading…
Cancel
Save