From d0d42c4941d0baf3ba2928cf9705cd9cfa566873 Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 29 Jul 2015 18:22:41 -0400 Subject: [PATCH] Add right/left floated lists --- RELEASE-NOTES.md | 1 + src/definitions/elements/list.less | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 4fb1407a1..66543cd2b 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -8,6 +8,7 @@ - **Menu** - Appearance of `labeled icon menu` has been modified. Horizontal menus now have icons above text, and icons are slightly larger than before. - **Menu** - Added new `tabular` menu types, `right tabular`, `bottom tabular`, added many new `tabular` menu variables for customizing - **Menu** - `text menu` now uses padding for hitboxes to make target area for links larger +- **List** - Lists can now be `right floated` or `left floated` **[Reported Bugs](https://github.com/Semantic-Org/Semantic-UI/issues?q=is%3Aissue+milestone%3A2.1.0+is%3Aclosed)** - **Container** - Fix issue with `fluid container` being `100% + gutter` at mobile resolution (causing overflow) diff --git a/src/definitions/elements/list.less b/src/definitions/elements/list.less index 652f30790..ec1b7280a 100755 --- a/src/definitions/elements/list.less +++ b/src/definitions/elements/list.less @@ -220,6 +220,13 @@ ol.ui.list ol li, } /* Floated Content */ +.ui[class*="left floated"].list { + float: left; +} +.ui[class*="right floated"].list { + float: right; +} + .ui.list .list > .item [class*="left floated"], .ui.list > .item [class*="left floated"] { float: left;