mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-01-12 22:49:53 +08:00
21 lines
468 B
SCSS
21 lines
468 B
SCSS
// TableObject is a module for creating dynamically resizable elements that
|
|
// always sit on the same horizontal line (e.g., they never wrap). Using
|
|
// tables means it's cross browser friendly.
|
|
|
|
.TableObject {
|
|
display: table;
|
|
}
|
|
|
|
// Place this on every "cell"
|
|
.TableObject-item {
|
|
display: table-cell;
|
|
width: 1%;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
// Place this on the largest or most important "cell"
|
|
.TableObject-item--primary {
|
|
width: 99%;
|
|
}
|