From cb9f067ff452385742af989f7d5b6f540b1dd2d1 Mon Sep 17 00:00:00 2001 From: Azareal Date: Fri, 21 Sep 2018 14:23:25 +1000 Subject: [PATCH] Maybe this? Hm. I also tweaked the padding on the forum quick topic forms. --- templates/topics.html | 2 +- themes/nox/public/main.css | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/templates/topics.html b/templates/topics.html index cf8b5a01..20e15f6d 100644 --- a/templates/topics.html +++ b/templates/topics.html @@ -6,13 +6,13 @@ {{if ne .CurrentUser.ID 0}}
{{if .ForumList}} +
{{/** TODO: Add a permissions check for this **/}}
-
{{else}}
{{end}}
diff --git a/themes/nox/public/main.css b/themes/nox/public/main.css index 51c58aa3..ca746330 100644 --- a/themes/nox/public/main.css +++ b/themes/nox/public/main.css @@ -282,10 +282,15 @@ h2 { display: flex; } .quick_create_form .topic_meta .topic_name_row { - margin-left: 8px; margin-bottom: 8px; width: 100%; } +.quick_create_form .topic_meta .topic_name_row:not(:only-child) { + margin-left: 8px; +} +.quick_create_form .topic_meta .topic_name_row:only-child input { + margin-left: 0px; +} .quick_create_form .topic_meta .topic_name_row input { width: 100%; } @@ -326,11 +331,12 @@ h2 { } .topic_list_title_block .optbox { display: flex; - margin-left: auto; + /*margin-left: auto;*/ font-size: 17px; margin-top: 3.5px; margin-right: 16px; margin-right: 18px; + width: 100%; } .topic_list_title_block .pre_opt:before { content: "{{index .Phrases "topics_click_topics_to_select"}}";