From d8a066216da19aae24627a6e3fc83a8e6ccb2bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Aaron?= Date: Wed, 1 Nov 2023 20:58:22 +0100 Subject: [PATCH] fix: copy & smaller style fixes --- models.go | 2 +- public/css/application.css | 15 ++++++++++----- views/apps/new.html | 8 +++++--- views/layout.html | 2 +- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/models.go b/models.go index f38d82ae..19de93f7 100644 --- a/models.go +++ b/models.go @@ -38,7 +38,7 @@ var nip47MethodDescriptions = map[string]string{ NIP_47_GET_BALANCE_METHOD: "Read your balance", NIP_47_PAY_INVOICE_METHOD: "Send payments", NIP_47_MAKE_INVOICE_METHOD: "Create invoices", - NIP_47_LOOKUP_INVOICE_METHOD: "Lookup statuses of invoices", + NIP_47_LOOKUP_INVOICE_METHOD: "Lookup status of invoices", } var nip47MethodIcons = map[string]string{ diff --git a/public/css/application.css b/public/css/application.css index 99fb5301..2014d6f4 100644 --- a/public/css/application.css +++ b/public/css/application.css @@ -1172,6 +1172,11 @@ select { padding-bottom: 1rem; } +.px-2 { + padding-left: 0.5rem; + padding-right: 0.5rem; +} + .pb-2 { padding-bottom: 0.5rem; } @@ -1535,6 +1540,11 @@ select { color: rgb(163 163 163 / var(--tw-text-opacity)); } + .dark\:text-orange-200 { + --tw-text-opacity: 1; + color: rgb(254 215 170 / var(--tw-text-opacity)); + } + .dark\:text-orange-400 { --tw-text-opacity: 1; color: rgb(251 146 60 / var(--tw-text-opacity)); @@ -1555,11 +1565,6 @@ select { color: rgb(255 255 255 / var(--tw-text-opacity)); } - .dark\:text-orange-200 { - --tw-text-opacity: 1; - color: rgb(254 215 170 / var(--tw-text-opacity)); - } - .dark\:placeholder-gray-400::-moz-placeholder { --tw-placeholder-opacity: 1; color: rgb(156 163 175 / var(--tw-placeholder-opacity)); diff --git a/views/apps/new.html b/views/apps/new.html index 2ec7fc18..d6a9eb70 100644 --- a/views/apps/new.html +++ b/views/apps/new.html @@ -30,7 +30,7 @@

class="bg-gray-50 border border-gray-300 text-gray-900 focus:ring-purple-700 dark:focus:ring-purple-600 dark:ring-offset-gray-800 focus:ring-2 text-sm rounded-lg block w-full p-2.5 dark:bg-surface-00dp dark:border-gray-700 dark:placeholder-gray-400 dark:text-white" >

- Eg. name of the app or purpose of the connection. + Name of the app or purpose of the connection

@@ -39,7 +39,7 @@

-

Authorise the new app to:

+

Authorise the new app to

@@ -68,7 +68,9 @@

-
+ Add connection expiry time
+
+ + Add connection expiry time +
-
+
{{template "body" .}}