From b9aedb126846d6bcf2ad6ce2e2920ff813df7891 Mon Sep 17 00:00:00 2001 From: Alexis Colin Date: Fri, 20 Dec 2024 06:50:02 +0900 Subject: [PATCH] style: various gnoweb fix after revamp (#3376) Continue fixing the issues reported in #3355 mainly: - Colors a11y issues - Directory layout - Copy btn style - code element font-size to follow parent's one --- gno.land/pkg/gnoweb/components/directory.gohtml | 9 ++++----- gno.land/pkg/gnoweb/components/help.gohtml | 2 +- gno.land/pkg/gnoweb/components/index.gohtml | 2 +- gno.land/pkg/gnoweb/components/source.gohtml | 8 ++++---- gno.land/pkg/gnoweb/frontend/css/input.css | 2 +- gno.land/pkg/gnoweb/public/styles.css | 2 +- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/gno.land/pkg/gnoweb/components/directory.gohtml b/gno.land/pkg/gnoweb/components/directory.gohtml index 4cdeff12a38..2254886f7af 100644 --- a/gno.land/pkg/gnoweb/components/directory.gohtml +++ b/gno.land/pkg/gnoweb/components/directory.gohtml @@ -1,15 +1,14 @@ {{ define "renderDir" }}
-
- +
{{ $pkgpath := .PkgPath }} -
-
+
+

{{ $pkgpath }}

-
+
Directory · {{ .FileCounter }} Files
diff --git a/gno.land/pkg/gnoweb/components/help.gohtml b/gno.land/pkg/gnoweb/components/help.gohtml index 1ea8ba1927a..535cb56e9d6 100644 --- a/gno.land/pkg/gnoweb/components/help.gohtml +++ b/gno.land/pkg/gnoweb/components/help.gohtml @@ -89,7 +89,7 @@

Command

-
-
+
diff --git a/gno.land/pkg/gnoweb/components/source.gohtml b/gno.land/pkg/gnoweb/components/source.gohtml index 20e710ca29b..cb2430b504a 100644 --- a/gno.land/pkg/gnoweb/components/source.gohtml +++ b/gno.land/pkg/gnoweb/components/source.gohtml @@ -5,10 +5,10 @@

{{ .FileName }}

-
- {{ .FileSize }} · {{ .FileLines }} lines -