diff --git a/html/inc/forum.inc b/html/inc/forum.inc index 6b0e6f4792..d4e644bdf2 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -588,7 +588,7 @@ function show_post( $url = "pm.php?action=new&userid=".$user->id; $name = $user->name; - show_button($url, tra("Send message"), tra("Send %1 a private message",$name)); + show_button_small($url, tra("Send message"), tra("Send %1 a private message",$name)); echo '<br>'.tra("Joined: %1", gmdate('j M y', $user->create_time)), "<br>"; if (!isset($user->nposts)) { diff --git a/html/inc/util.inc b/html/inc/util.inc index c49a542aa7..e246cce22d 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -843,7 +843,7 @@ function button_text($url, $text, $desc=null, $class="btn-success btn-sm") { if (!$desc) { $desc = $text; } - return sprintf(' <a href="%s" title="%s" class="btn %s"><span style="font-size:1.2em">%s</span></a>', + return sprintf(' <a href="%s" title="%s" class="btn %s">%s</a>', $url, $desc, $class, $text ); } diff --git a/html/user/custom_dark.css b/html/user/custom_dark.css index f6d4b96a42..3142516c8c 100644 --- a/html/user/custom_dark.css +++ b/html/user/custom_dark.css @@ -1,6 +1,6 @@ # fixes to dark-backround themes to increase legibility -body, navbar-text, panel { +body, navbar-text, panel, a:btn { color:white; }