docs(theme): correct the .btn upstreaming claim — it was not universal
HistorianGateway has no local .btn sizing in either its committed tree or its sweep branch (only vendored bootstrap.min.css), so the shipped comment and README naming all five consumers were wrong. Consequence worth stating: HG's bump to 0.4.0+ is a VISIBLE change (buttons shrink to .85rem), not the no-op cleanup it is for consumers that already carried the block.
This commit is contained in:
@@ -3,10 +3,17 @@
|
||||
|
||||
/* ── Bootstrap button sizing ─────────────────────────────────────────────────
|
||||
Bootstrap hard-codes --bs-btn-font-size: 1rem, which is oversized against
|
||||
this kit's 0.9rem body. Every consuming app had independently written this
|
||||
same block into its own stylesheet (ignitionoee app.css, OtOpcUa site.css,
|
||||
mxgw site.css, HistorianGateway site.css, ScadaBridge site.css) — it is
|
||||
upstreamed here in 0.4.0, and those local copies can be deleted on bump.
|
||||
this kit's 0.9rem body. Several consuming apps had independently written this
|
||||
same block into their own stylesheets — verified in ignitionoee app.css,
|
||||
OtOpcUa site.css, mxgw site.css and ScadaBridge — so it is upstreamed here in
|
||||
0.4.0 and those local copies can be trimmed on bump.
|
||||
|
||||
NOT universal, despite an earlier claim in this comment that listed all five:
|
||||
HistorianGateway has NO local .btn sizing in either its committed tree or its
|
||||
sweep branch — only vendored bootstrap.min.css. So on 0.3.1 its buttons render
|
||||
at Bootstrap's default 1rem, and its bump to 0.4.0+ is a VISIBLE change (buttons
|
||||
shrink to .85rem), not the no-op cleanup it is for the others. Do not assume a
|
||||
consumer already has this sizing; check before calling a bump cosmetic.
|
||||
|
||||
Sized by CSS-variable override ONLY — never by redeclaring box properties.
|
||||
Bootstrap's .btn-group seam and radius machinery reads these same variables,
|
||||
|
||||
Reference in New Issue
Block a user