From 0408d6f30254e9734e556c9d4aef5bfde3304948 Mon Sep 17 00:00:00 2001 From: Alexis Colin Date: Wed, 18 Dec 2024 03:42:45 +0900 Subject: [PATCH] fix: gnoweb UI styles (#3349) This PR aims to fix some of remaining UI bugs on gnoweb after the revamp merge. Some of: #3355 - Fixes Safari select input design and icons - Fixes input hover - Fixes ToC font style - Fixes UI details and improve CSS - Fixes Responsive with long content - Fixes Scrollbar - Fixes fonts loading strategy and size - Fixes ts issue with copy btn (quick clicks) - Fixes some A11y --- gno.land/pkg/gnoweb/components/help.gohtml | 34 ++++-- gno.land/pkg/gnoweb/components/index.gohtml | 16 ++- gno.land/pkg/gnoweb/components/realm.gohtml | 20 ++-- gno.land/pkg/gnoweb/components/source.gohtml | 20 ++-- .../pkg/gnoweb/components/spritesvg.gohtml | 105 ++++++++---------- gno.land/pkg/gnoweb/frontend/css/input.css | 54 ++++----- gno.land/pkg/gnoweb/frontend/css/tx.config.js | 6 +- gno.land/pkg/gnoweb/frontend/js/copy.ts | 28 ++--- .../static/fonts/intervar/Inter.var.woff2 | Bin 324864 -> 0 bytes .../static/fonts/intervar/Intervar.woff2 | Bin 0 -> 73080 bytes .../public/fonts/intervar/Inter.var.woff2 | Bin 324864 -> 0 bytes .../public/fonts/intervar/Intervar.woff2 | Bin 0 -> 73080 bytes gno.land/pkg/gnoweb/public/js/copy.js | 2 +- gno.land/pkg/gnoweb/public/styles.css | 4 +- 14 files changed, 148 insertions(+), 141 deletions(-) delete mode 100644 gno.land/pkg/gnoweb/frontend/static/fonts/intervar/Inter.var.woff2 create mode 100644 gno.land/pkg/gnoweb/frontend/static/fonts/intervar/Intervar.woff2 delete mode 100644 gno.land/pkg/gnoweb/public/fonts/intervar/Inter.var.woff2 create mode 100644 gno.land/pkg/gnoweb/public/fonts/intervar/Intervar.woff2 diff --git a/gno.land/pkg/gnoweb/components/help.gohtml b/gno.land/pkg/gnoweb/components/help.gohtml index dea4f683a0a..d3ca9dea81f 100644 --- a/gno.land/pkg/gnoweb/components/help.gohtml +++ b/gno.land/pkg/gnoweb/components/help.gohtml @@ -7,27 +7,36 @@

{{ .RealmName }}

-
+
+ + +
-
- - +
+ +