Files
Liu 1f46778893 fix(ui): stabilize layout measurement and style refresh
- 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
2026-11-13 21:56:39 +08:00

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%;
}