File size: 1,001 Bytes
9a6cb9a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | /* S66-T14 (R4, C2): a related condition carries one control more than a local one, the related
database's field beside the database chip. It takes the same slot a field picker takes
(`.cg-cond-field` in index.css: 136px, never under 112px) and stretches to the row's 30px
controls, because DESIGN.md §4 has every control in a row share one height and baseline.
The row then WRAPS its value onto a second line instead of squeezing it to the 48px floor
`.cg-cond-val` allows, the same answer `.cg-cond-row.is-measure` gives its extra control. */
.cg-cond-row > .sheet-related-field {
flex: 0 1 136px;
min-width: 112px;
align-self: stretch;
display: flex;
}
.cg-cond-row > .sheet-related-field > .cg-cond-field {
flex: 1 1 auto;
min-width: 0;
}
.cg-cond-row.is-related {
flex-wrap: wrap;
row-gap: 6px;
}
.cg-cond-row.is-related .cg-cond-val {
min-width: 160px;
}
.sheet-binding-panel .sheet-field--pick > .sheet-period {
align-self: stretch;
margin-top: 8px;
}
|