harb/web-app/src
openhands 0675694779 fix: bug: Desktop Connect button never renders at 1280px width (#399)
Replace screen.width with window.innerWidth in useMobile composable.
screen.width reports the physical screen size (0 in headless Chromium),
while window.innerWidth reflects the actual viewport — the correct metric
for responsive layout. The previous Object.defineProperty workaround in
wallet-provider.ts could not override the native Screen.prototype getter,
so screen.width remained 0, isMobile stayed true, and ConnectButton was
never rendered. Fix wallet-provider.ts to pass viewport/screen options
directly to browser.newContext() and remove the broken init-script shim.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 04:35:51 +00:00
..
assets added web-app and landing 2025-09-23 14:18:04 +02:00
components fix: bug: Get KRK page swap widget broken with Playwright fill() (#393) 2026-03-01 18:15:50 +00:00
composables fix: bug: Desktop Connect button never renders at 1280px width (#399) 2026-03-02 04:35:51 +00:00
contracts fix: Clean up dead code and stale domain references across landing + web-app (#189) 2026-02-23 13:04:02 +00:00
directives webapp - ESLint + Prettier with pre-commit hooks (#54) 2025-10-03 16:51:44 +02:00
layouts fix: Dead comment in NavbarLayout.vue (#258) 2026-02-25 06:42:34 +00:00
router fix: clean URLs, contract addresses, gitmodule (#16, #58, #147) (#162) 2026-02-20 17:28:59 +01:00
services fill stake e2e 2025-10-11 17:54:49 +00:00
types added web-app and landing 2025-09-23 14:18:04 +02:00
utils fix: Move BigInt formatting functions from helper.ts to kraiken-lib/format (#246) 2026-02-24 23:00:58 +00:00
views fix: Structural duplication of swap ABIs and buyKrk() across LocalSwapWidget and CheatsView (#353) 2026-02-28 09:32:02 +00:00
App.vue webapp - ESLint + Prettier with pre-commit hooks (#54) 2025-10-03 16:51:44 +02:00
config.ts fix: Get KRK: inline swap widget for local dev, Uniswap link for production (#136) 2026-02-27 06:55:41 +00:00
env.d.ts feature/ci (#84) 2026-02-02 19:24:57 +01:00
main.ts webapp - ESLint + Prettier with pre-commit hooks (#54) 2025-10-03 16:51:44 +02:00
wagmi.ts feat: shared @harb/web3 package + landing wallet connect (#157) (#159) 2026-02-19 20:18:27 +01:00