diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-02-15 21:05:44 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-02-15 21:05:44 +0100 |
commit | 5c627ddcde8bc768cc90b300e72f7cefee3babf0 (patch) | |
tree | 9cababe9320a35a8dcc6ea3c1e41bd76e26ed13c | |
parent | 29f5a866d7b9cf0c5b660c881bde7e9f8f03b91f (diff) |
fix: Adapt blocked page styles to latest Nyxt version.
-rw-r--r-- | router.lisp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/router.lisp b/router.lisp index 3b75874..a4a518a 100644 --- a/router.lisp +++ b/router.lisp @@ -412,22 +412,22 @@ If REVERSE, reverse the redirect logic." (buffer "*Blocked Site*" 'nyxt:base-mode) "Show blocked internal page for URL." (let ((blocked-style (theme:themed-css (nyxt:theme nyxt:*browser*) - (body - :padding 0 - :margin 0) - (.container - :display "flex" - :height "100vh" - :justify-content "center" - :align-items "center" - :flex-direction "column") - ("#banner" - :display "flex" - :justify-content "center" - :flex-direction "column" - :width "70vw") - ("#url" - :text-decoration "underline")))) + `(body + :padding 0 + :margin 0) + `(.container + :display "flex" + :height "100vh" + :justify-content "center" + :align-items "center" + :flex-direction "column") + `("#banner" + :display "flex" + :justify-content "center" + :flex-direction "column" + :width "70vw") + `("#url" + :text-decoration "underline")))) (spinneret:with-html-string (:style blocked-style) (:div :class "container" |