fix(theme): allow canonical cards to reflow at narrow widths
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<Version>1.0.0</Version>
|
||||
<Version>1.0.1</Version>
|
||||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
||||
@@ -12,6 +12,14 @@ basic chrome works in static SSR with Bootstrap CSS. `ThemeScripts` also ships t
|
||||
optional shared `nav-state.js` enhancer for persisted section state; include it once
|
||||
before `</body>`. No Bootstrap collapse bundle is required.
|
||||
|
||||
## 1.0.1 narrow-grid patch
|
||||
|
||||
The canonical card grid keeps its 290px preferred minimum while allowing a card to
|
||||
shrink to the available column width. This prevents clipping/overflow in narrow
|
||||
reflow and zoomed layouts. Desktop geometry, colors, fonts and component APIs retain
|
||||
the 1.0.0 contract. Consumers should adopt one exact patch version together; do not
|
||||
copy per-application grid fixes or repack the immutable 1.0.0 artifacts.
|
||||
|
||||
## Accessible component contracts (1.0.0)
|
||||
|
||||
`TechField` associates its existing label, help and error with a caller-owned input.
|
||||
|
||||
@@ -291,7 +291,7 @@ a:hover { color: var(--accent-deep); text-decoration: underline; }
|
||||
Zebra striping on even rows. .v.warn / .v.bad / .v.ok recolour a value. */
|
||||
.card-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
|
||||
grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
|
||||
gap: 0.85rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user