diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-03-19 19:13:51 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-03-19 19:13:51 +0100 |
commit | 8b1154550f3a5b57eebbc16c420f3dcf65d8cd35 (patch) | |
tree | 2646cbfa0f4eb69f71e7d220db8d9cfddf94870b | |
parent | minor cleanup. (diff) | |
download | calp-8b1154550f3a5b57eebbc16c420f3dcf65d8cd35.tar.gz calp-8b1154550f3a5b57eebbc16c420f3dcf65d8cd35.tar.xz |
Rename tbody to cal-cell.
Diffstat (limited to '')
-rw-r--r-- | module/output/html.scm | 5 | ||||
-rw-r--r-- | static/style.css | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/module/output/html.scm b/module/output/html.scm index 54ac7538..42955f34 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -301,8 +301,7 @@ ;; First day is a special case, since I always want to show a full date there. ;; For all other days I'm only interested in the parts that change. (let* (((day-date . events) (stream-car event-groups))) - `(div (@ (class "tbody")) "") - `(div (@ (class "tbody")) + `(div (@ (class "cal-cell")) (div (@ (class "date-info")) (span (@ (class "day-number")) ,(date->string day-date "~e")) (span (@ (class "month-name")) ,(date->string day-date "~b")) @@ -312,7 +311,7 @@ (stream-map (match-lambda [(day-date . events) - `(div (@ (class "tbody")) + `(div (@ (class "cal-cell")) (div (@ (class "date-info")) (span (@ (class "day-number")) ,(date->string day-date "~e")) ,(when (= 1 (day day-date)) diff --git a/static/style.css b/static/style.css index b013e5b7..728de2d1 100644 --- a/static/style.css +++ b/static/style.css @@ -143,11 +143,11 @@ body { } .caltable .thead, -.caltable .tbody { +.caltable .cal-cell { border: 1px solid gray; } -.caltable .tbody { +.caltable .cal-cell { overflow-y: auto; } |