Maybe this? Hm.

I also tweaked the padding on the forum quick topic forms.
This commit is contained in:
Azareal 2018-09-21 14:23:25 +10:00
parent 64caed61ee
commit cb9f067ff4
2 changed files with 9 additions and 3 deletions

View File

@ -6,13 +6,13 @@
{{if ne .CurrentUser.ID 0}} {{if ne .CurrentUser.ID 0}}
<div class="optbox"> <div class="optbox">
{{if .ForumList}} {{if .ForumList}}
<div class="opt" style="margin-right: auto;margin-top: 2px;"><a href="#"> / Most Recent</a></div>
<div class="pre_opt auto_hide"></div> <div class="pre_opt auto_hide"></div>
<div class="opt create_topic_opt" title="{{lang "topic_list.create_topic_tooltip"}}" aria-label="{{lang "topic_list.create_topic_aria"}}"><a class="create_topic_link" href="/topics/create/"></a></div> <div class="opt create_topic_opt" title="{{lang "topic_list.create_topic_tooltip"}}" aria-label="{{lang "topic_list.create_topic_aria"}}"><a class="create_topic_link" href="/topics/create/"></a></div>
{{/** TODO: Add a permissions check for this **/}} {{/** TODO: Add a permissions check for this **/}}
<div class="opt mod_opt" title="{{lang "topic_list.moderate_tooltip"}}"> <div class="opt mod_opt" title="{{lang "topic_list.moderate_tooltip"}}">
<a class="moderate_link" href="#" aria-label="{{lang "topic_list.moderate_aria"}}"></a> <a class="moderate_link" href="#" aria-label="{{lang "topic_list.moderate_aria"}}"></a>
</div> </div>
<div class="opt"><select><option selected>Last Updated</option><option>Most Viewed</option></select></div>
{{else}}<div class="opt locked_opt" title="{{lang "topics_locked_tooltip"}}" aria-label="{{lang "topics_locked_aria"}}"><a></a></div>{{end}} {{else}}<div class="opt locked_opt" title="{{lang "topics_locked_tooltip"}}" aria-label="{{lang "topics_locked_aria"}}"><a></a></div>{{end}}
</div> </div>
<div style="clear: both;"></div> <div style="clear: both;"></div>

View File

@ -282,10 +282,15 @@ h2 {
display: flex; display: flex;
} }
.quick_create_form .topic_meta .topic_name_row { .quick_create_form .topic_meta .topic_name_row {
margin-left: 8px;
margin-bottom: 8px; margin-bottom: 8px;
width: 100%; 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 { .quick_create_form .topic_meta .topic_name_row input {
width: 100%; width: 100%;
} }
@ -326,11 +331,12 @@ h2 {
} }
.topic_list_title_block .optbox { .topic_list_title_block .optbox {
display: flex; display: flex;
margin-left: auto; /*margin-left: auto;*/
font-size: 17px; font-size: 17px;
margin-top: 3.5px; margin-top: 3.5px;
margin-right: 16px; margin-right: 16px;
margin-right: 18px; margin-right: 18px;
width: 100%;
} }
.topic_list_title_block .pre_opt:before { .topic_list_title_block .pre_opt:before {
content: "{{index .Phrases "topics_click_topics_to_select"}}"; content: "{{index .Phrases "topics_click_topics_to_select"}}";