Finished the topic pages for small mobiles for the Nox Theme.

Eliminate some boilerplate in the super experimental sendmail plugin.
This commit is contained in:
Azareal 2018-08-25 19:32:00 +10:00
parent 4d0d9fd4a5
commit 8bd1925e83
2 changed files with 20 additions and 5 deletions

View File

@ -59,9 +59,5 @@ func send_sendmail(data ...interface{}) interface{} {
return false
}
err = sendmail.Wait()
if err != nil {
return false
}
return true
return sendmail.Wait() == nil
}

View File

@ -593,6 +593,9 @@ button, .formbutton, .panel_right_button {
margin-left: auto;
display: flex;
}
.post_item .controls:not(.has_likes) .like_count {
display: none;
}
.action_item .userinfo, .action_item .action_icon {
display: none;
@ -633,6 +636,9 @@ button, .formbutton, .panel_right_button {
.report_item:after {
content: "{{index .Phrases "topic.report_button_text"}}";
}
.like_count:after {
content: " likes";
}
.topic_reply_container {
display: flex;
@ -677,6 +683,19 @@ button, .formbutton, .panel_right_button {
background-color: #444444;
padding: 10px;
}
.post_item .action_button_right {
background-color: #444444;
padding: 10px;
padding-left: 14px;
/*padding-right: 12px;*/
margin-top: 8px;
}
.post_item .controls:not(.has_likes) .like_count {
display: inline;
}
.post_item .created_at {
margin-left: auto;
}
.ip_item.hide_on_mobile {
display: none;
}