summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--default.css9
-rw-r--r--events.c2
2 files changed, 9 insertions, 2 deletions
diff --git a/default.css b/default.css
index 118da0d..574ffb2 100644
--- a/default.css
+++ b/default.css
@@ -48,11 +48,11 @@ body {
 	margin: auto;
 }
 
-h1, h2, nav, table, footer {
+h1, h2, nav, div, table, footer {
 	margin: 1rem 0;
 }
 
-nav {
+nav, nav + div {
 	display: flex;
 	flex-wrap: wrap;
 	align-items: center;
@@ -74,6 +74,11 @@ nav ol li:first-child::before {
 	padding-left: 0;
 }
 
+label {
+	padding-left: 1ch;
+	margin-right: 1ch;
+}
+
 table {
 	border-spacing: 0;
 	/* Allow some room to start selecting from */
diff --git a/events.c b/events.c
index 51e56de..4afdd54 100644
--- a/events.c
+++ b/events.c
@@ -211,8 +211,10 @@ enum kcgi_err eventsPage(struct kreq *req) {
 		|| khtml_open(&html, req, 0)
 		|| htmlHead(&html, scope.context)
 		|| htmlNav(&html, scope)
+		|| khtml_elem(&html, KELEM_DIV)
 		|| dateForm(req, &html, scope)
 		|| displayForm(req, &html, scope)
+		|| khtml_closeelem(&html, 1)
 		|| khtml_elem(&html, KELEM_TABLE);
 	if (error) return error;