diff --git a/dist/treebird20.css b/dist/treebird20.css index 324d147..69bdff7 100644 --- a/dist/treebird20.css +++ b/dist/treebird20.css @@ -1415,7 +1415,7 @@ p} .simple-page h1 { padding-left: 12px; - padding-bottom: 6px; + padding-bottom: 7px; border-bottom: 1px solid #cacaca; } @@ -1430,6 +1430,16 @@ p} padding-left: 15px; } +.simple-page-header +{ + padding: 0; +} + +.simple-page-header h1 +{ + margin-bottom: 0; +} + .simple-page p { margin: 14px; diff --git a/src/timeline.c b/src/timeline.c index 596009a..6591a57 100644 --- a/src/timeline.c +++ b/src/timeline.c @@ -62,17 +62,16 @@ void content_timeline(struct session* ssn, // Create post box if (show_post_box) - { post_box = construct_post_box(NULL, "", NULL); - if (statuses) - { - // If not set, set it - start_id = keystr(ssn->post.start_id) ? keystr(ssn->post.start_id) : statuses[0].id; - navigation_box = construct_navigation_box(start_id, - statuses[0].id, - statuses[statuses_len-1].id, - NULL); - } + + if (statuses) + { + // If not set, set it + start_id = keystr(ssn->post.start_id) ? keystr(ssn->post.start_id) : statuses[0].id; + navigation_box = construct_navigation_box(start_id, + statuses[0].id, + statuses[statuses_len-1].id, + NULL); } // Create timeline options/menubar @@ -87,7 +86,7 @@ void content_timeline(struct session* ssn, // Display a header bar, usually customized for specific pages if (header_text) { - easprintf(&header, "
- |