Browse Source

Add fixed table variation

pull/2850/head
Jack Lukic 9 years ago
parent
commit
4d017c27e7
2 changed files with 20 additions and 0 deletions
  1. 1
      RELEASE-NOTES.md
  2. 19
      src/definitions/collections/table.less

1
RELEASE-NOTES.md

@ -14,6 +14,7 @@
- **Input** - Added `disabled` state for inputs #2694
- **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
- **Table** - New `fixed` table variation added for use with `table-layout: fixed;`. This also supports "..." ellipsis when used with `single line` content
**[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.

19
src/definitions/collections/table.less

@ -465,6 +465,21 @@
white-space: nowrap;
}
/*--------------
Fixed
---------------*/
.ui.fixed.table {
table-layout: fixed;
}
.ui.fixed.table th,
.ui.fixed.table td {
overflow: hidden;
text-overflow: ellipsis;
}
/*--------------
Hoverable
---------------*/
@ -570,6 +585,10 @@
Single Line
---------------*/
.ui.table[class*="single line"],
.ui.table [class*="single line"] {
white-space: nowrap;
}
.ui.table[class*="single line"],
.ui.table [class*="single line"] {
white-space: nowrap;

Loading…
Cancel
Save