diff --git a/plugin-designs/regions-dashboard/src/UupgsList.vue b/plugin-designs/regions-dashboard/src/UupgsList.vue index 0b2fefec2..84c1f582a 100644 --- a/plugin-designs/regions-dashboard/src/UupgsList.vue +++ b/plugin-designs/regions-dashboard/src/UupgsList.vue @@ -358,7 +358,17 @@ useShadowStyles( // commercial and BLOCKED ON THE DRIVER, so this button keeps our stand-in and the family remains // the one measured difference here. Everything geometric now matches. '.filters__toggle{ background:none; cursor:pointer; font:inherit; font-size:var(--font-size-sm);' + - ' padding:var(--spacing-xs) var(--spacing-2xl); border:1px solid transparent; border-radius:100px;' + + // ★ LITERAL 10px, NOT var(--spacing-xs) -- I used the token and it DOES NOT EXIST. + // dxlife-tokens.js:43-45 says so explicitly and gives the reason: "--spacing-xs (10px) and + // --spacing-sm (13.3px) are deliberately NOT tokenised: '10px' is far too common a literal in this + // CSS to substitute safely, and a wrong substitution here is worse than a magic number because it + // reads as deliberate." I substituted anyway. + // WHAT AN UNDEFINED var() COSTS, measured by rega: it invalidates the WHOLE declaration at compute + // time, so padding fell to 0 on BOTH axes and the button went 25.44 -> 17.63 -- FURTHER from their + // 37.63 than before I touched it. The border, radius and line-height all landed; only this line + // failed, and it failed silently. Their computed value is "10px 41.6158px", so with the literal: + // 15.625 + 2x10 + 2x1 = 37.63 tall and ~210.7 wide (theirs 210.73). + ' padding:10px var(--spacing-2xl); border:1px solid transparent; border-radius:100px;' + ' line-height:var(--line-height-none);' + ' display:inline-flex; align-items:center; gap:var(--spacing-2xs); margin-inline:auto; color:var(--dx-text); }' + '.filters__toggle svg{ transition:transform 200ms ease; }' + diff --git a/public/dx-maps/doxa-maps-spa/manifest.json b/public/dx-maps/doxa-maps-spa/manifest.json index 361d975c4..0f54c27a3 100644 --- a/public/dx-maps/doxa-maps-spa/manifest.json +++ b/public/dx-maps/doxa-maps-spa/manifest.json @@ -887,7 +887,7 @@ "bundle": "regions-dashboard", "scriptUrl": "./regions-dashboard/regions-dashboard.js", "output": "dx-maps/regions-dashboard/regions-dashboard.js", - "integrity": "sha384-eF8jmaDm1FIaoiZ5LDYcFXtKLnKVVW221qs4dFe93aKVqV/wzCO6IcA9zkp9nRo/", + "integrity": "sha384-zIi3NgjTipNSuW3gu0bKTfNgXlaf8ZN7w0oJSlS9NQLA77cPM/gO4fSqY0j/YWya", "elements": [ "regions-dashboard" ], @@ -907,7 +907,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -921,7 +921,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -935,7 +935,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] diff --git a/public/dx-maps/manifest.json b/public/dx-maps/manifest.json index 361d975c4..0f54c27a3 100644 --- a/public/dx-maps/manifest.json +++ b/public/dx-maps/manifest.json @@ -887,7 +887,7 @@ "bundle": "regions-dashboard", "scriptUrl": "./regions-dashboard/regions-dashboard.js", "output": "dx-maps/regions-dashboard/regions-dashboard.js", - "integrity": "sha384-eF8jmaDm1FIaoiZ5LDYcFXtKLnKVVW221qs4dFe93aKVqV/wzCO6IcA9zkp9nRo/", + "integrity": "sha384-zIi3NgjTipNSuW3gu0bKTfNgXlaf8ZN7w0oJSlS9NQLA77cPM/gO4fSqY0j/YWya", "elements": [ "regions-dashboard" ], @@ -907,7 +907,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -921,7 +921,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -935,7 +935,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] diff --git a/public/dx-maps/regions-dashboard/region-dashboards/index.html b/public/dx-maps/regions-dashboard/region-dashboards/index.html index 893d243a6..2ed0742a9 100644 --- a/public/dx-maps/regions-dashboard/region-dashboards/index.html +++ b/public/dx-maps/regions-dashboard/region-dashboards/index.html @@ -36,7 +36,7 @@ - + - + - +