diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-07-09 16:51:20 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-07-09 16:51:20 +0200 |
commit | 080470b1428a0ca58a9ed7eb7aac8050f26543a2 (patch) | |
tree | 7382d975411371bd456a8e100dfc39fe3e848b7d | |
parent | Javascript now sends the description on event creation. (diff) | |
download | calp-080470b1428a0ca58a9ed7eb7aac8050f26543a2.tar.gz calp-080470b1428a0ca58a9ed7eb7aac8050f26543a2.tar.xz |
HTML Download tab now div instead of article.
Diffstat (limited to '')
-rw-r--r-- | module/output/html.scm | 8 | ||||
-rw-r--r-- | static/style.css | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/module/output/html.scm b/module/output/html.scm index 93fc5375..f73e975b 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -175,10 +175,10 @@ ,(tabset (append `(("📅" ,(fmt-single-event ev)) - ("⤓" (article (@ (style "font-family:sans")) - (p "Ladda ner") - (ul (li (a (@ (href ,(string-append "/calendar/" (prop ev 'UID) ".ics"))) "som iCal")) - (li (a (@ (href ,(string-append "/calendar/" (prop ev 'UID) ".xcs"))) "som xCal")))))) + ("⤓" (div (@ (style "font-family:sans")) + (p "Ladda ner") + (ul (li (a (@ (href ,(string-append "/calendar/" (prop ev 'UID) ".ics"))) "som iCal")) + (li (a (@ (href ,(string-append "/calendar/" (prop ev 'UID) ".xcs"))) "som xCal")))))) (when (edit-mode) `(("</>" (script (@ (class "xcal") (type "application/calendar+xml")) diff --git a/static/style.css b/static/style.css index f7b8fbfa..f4a076fa 100644 --- a/static/style.css +++ b/static/style.css @@ -643,7 +643,9 @@ along with their colors. min-height: 20ch; } -.popup article { +.popup article, +.popup div +{ /* makes the text in the popup scroll, but not the sidebar */ overflow-y: auto; padding: 1em; |