diff --git a/login.go b/login.go index 666616d..b8ae4ea 100644 --- a/login.go +++ b/login.go @@ -327,7 +327,7 @@ func NewAccountUserAgreement(ctxt ui.AmContext) (string, any) { ctxt.VarMap().Set("agreementTitle", agreementTitle) ctxt.VarMap().Set("agreementBody", agreementBody) ctxt.SetScratch("frame_suppressLogin", true) - ctxt.SetFrameTitle("New Account User Agreement") + ctxt.SetFrameTitle(agreementTitle) return "framed", "agreement.jet" } diff --git a/ui/static/css/ams_style.css b/ui/static/css/ams_style.css index 88943b8..421724c 100644 --- a/ui/static/css/ams_style.css +++ b/ui/static/css/ams_style.css @@ -7,7 +7,10 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ pre.amsPost a { - --tw-text-opacity: 1; - color: rgb(29 78 216 / var(--tw-text-opacity, 1)); + color: rgb(29 78 216); + text-decoration: underline; +} +div.amsDocument a { + color: rgb(29 78 216); text-decoration: underline; } diff --git a/ui/views/agreement.jet b/ui/views/agreement.jet index 7b7b1b4..2bc4aa9 100644 --- a/ui/views/agreement.jet +++ b/ui/views/agreement.jet @@ -11,9 +11,9 @@

{{ agreementTitle }}


-

+

{{ agreementBody | raw }} -

+