Make use of css flex in matrix UI

pull/2/head
Raymond Hill 5 years ago
parent d993b8442a
commit df4a403473
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

@ -347,19 +347,19 @@ body.tabless .needtab {
text-align: left; text-align: left;
} }
.matRow { .matRow {
align-items: flex-start;
display: flex; display: flex;
white-space: nowrap;
} }
.matCell { .matCell {
margin: 1px 1px 0 0;
padding: 6px 2px;
display: inline-block;
box-sizing: content-box; box-sizing: content-box;
width: 2.6em; display: inline-flex;
white-space: nowrap; flex-shrink: 0;
text-align: center; justify-content: center;
line-height: 110%; line-height: 110%;
margin: 1px 1px 0 0;
padding: 6px 2px;
position: relative; position: relative;
width: 2.6em;
} }
#matHead { #matHead {
@ -380,7 +380,9 @@ body.tabless .needtab {
/* RFC 3987 Internationalized Resource Identifiers (IRIs) -- 4.4 */ /* RFC 3987 Internationalized Resource Identifiers (IRIs) -- 4.4 */
.matrix .matRow > .matCell:first-child { .matrix .matRow > .matCell:first-child {
direction: ltr; direction: ltr;
text-align: right; flex-grow: 1;
flex-shrink: 1;
justify-content: flex-end;
unicode-bidi: embed; unicode-bidi: embed;
width: 16em; width: 16em;
} }

Loading…
Cancel
Save