@energy8platform/shell 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/html.cjs.js +12 -1
- package/dist/html.cjs.js.map +1 -1
- package/dist/html.d.ts +2 -2
- package/dist/html.esm.js +12 -1
- package/dist/html.esm.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/pixi.cjs.js +20 -10
- package/dist/pixi.cjs.js.map +1 -1
- package/dist/pixi.d.ts +2 -2
- package/dist/pixi.esm.js +20 -10
- package/dist/pixi.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/core/version.ts +1 -1
- package/src/ui/html/shell.css.ts +11 -0
- package/src/ui/pixi/components/BuyBonus.ts +21 -10
package/dist/html.cjs.js
CHANGED
|
@@ -1352,7 +1352,7 @@ class KeyboardController {
|
|
|
1352
1352
|
|
|
1353
1353
|
// AUTO-GENERATED by scripts/gen-version.mjs — do not edit. Mirrors package.json "version".
|
|
1354
1354
|
/** The @energy8platform/shell package version, stamped into the game-info footer. */
|
|
1355
|
-
const PACKAGE_VERSION = '0.2.
|
|
1355
|
+
const PACKAGE_VERSION = '0.2.3';
|
|
1356
1356
|
|
|
1357
1357
|
/** Apply defaults to the raw config (the mount target lives on the renderer, not here). */
|
|
1358
1358
|
function resolveConfig(config) {
|
|
@@ -2020,6 +2020,17 @@ const SHELL_CSS = SHELL_FONT_CSS + SHELL_DIGIT_FONT_CSS + `
|
|
|
2020
2020
|
#${SHELL_ROOT_ID} [data-ge="buybonus-overlay"] .ge-bb-betval { min-width:clamp(50px,14cqh,66px); }
|
|
2021
2021
|
#${SHELL_ROOT_ID} [data-ge="buybonus-overlay"] .ge-bb-betval b { font-size:clamp(9px,2.5cqh,11px); }
|
|
2022
2022
|
#${SHELL_ROOT_ID} [data-ge="buybonus-overlay"] .ge-bb-betval span { font-size:clamp(5px,1.25cqh,6px); }
|
|
2023
|
+
/* Popout S (very short landscape, e.g. 400×225): the height-fit shrank the cards' descriptions to an
|
|
2024
|
+
unreadable ~4px floor with nothing to scroll. Below a ~340px frame height, drop the shrink-to-fit and
|
|
2025
|
+
switch the (non-mobile) buy-bonus to a READABLE vertical stack that scrolls vertically — like mobile.
|
|
2026
|
+
Query the overlay's ge-bb-frame size container so it tracks the popout frame, not the browser window. */
|
|
2027
|
+
@container ge-bb-frame (max-height: 340px) {
|
|
2028
|
+
#${SHELL_ROOT_ID}:not(.ge-mobile) [data-ge="buybonus-overlay"] .ge-ov-scroll { overflow-y:auto; }
|
|
2029
|
+
#${SHELL_ROOT_ID}:not(.ge-mobile) [data-ge="buybonus-overlay"] .ge-ov-body { justify-content:flex-start; }
|
|
2030
|
+
#${SHELL_ROOT_ID}:not(.ge-mobile) .ge-bb-grid { flex-direction:column; align-items:center; overflow:visible; }
|
|
2031
|
+
#${SHELL_ROOT_ID}:not(.ge-mobile) .ge-bb-grid .ge-bonus-card {
|
|
2032
|
+
flex:0 0 auto; width:18em; font-size:min(12px, calc(84cqw / 18)); }
|
|
2033
|
+
}
|
|
2023
2034
|
|
|
2024
2035
|
/* ═══ desktop control bar — one continuous dark panel; white-disc buttons; BUY BONUS outside-left ═══ */
|
|
2025
2036
|
/* the dark surface fills the row width (BUY BONUS sits outside, to its left) */
|