mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
- restore intrinsic sizes before measuring flex and block children - resolve percentage widths against indefinite parents as auto - reflow parents when child content changes and refresh background geometry - ignore hidden flex items in gap insertion and use spec static positions - keep text paint size in sync with the current capture scale
33 lines
560 B
CSS
33 lines
560 B
CSS
/*
|
|
* tests/fixtures/test_card.css
|
|
*
|
|
* The card-basic demo layout. Mirrors the rules that
|
|
* examples/doc-viewer/app/global.css scopes under `.card-basic-demo`.
|
|
*/
|
|
|
|
.test-card-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.test-card-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.test-card-label-row {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.test-card-footer {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.test-card-footer button {
|
|
width: 100%;
|
|
}
|