mirror of
https://github.com/primer/css.git
synced 2024-12-02 07:53:06 +03:00
21 lines
463 B
SCSS
21 lines
463 B
SCSS
// Flex table 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.
|
|
|
|
.flex-table {
|
|
display: table;
|
|
}
|
|
|
|
// Place this on every "cell"
|
|
.flex-table-item {
|
|
display: table-cell;
|
|
width: 1%;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
// Place this on the largest or most important "cell"
|
|
.flex-table-item-primary {
|
|
width: 99%;
|
|
}
|