Fix align on comments buttons

This commit is contained in:
Fabiano 2018-07-13 17:01:08 -03:00
parent 941efcb80f
commit 961cadceb5
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ add_filter( 'comment_text', 'wrap_Comment', 99);
// define the cancel_comment_reply_link callback
function filter_cancel_comment_reply_link( $formatted_link, $link, $text ) {
// make filter magic happen here...
$formatted_link = '<a rel="nofollow" class="btn btn-info bg-white border-oslo-gray align-self-center mt-3 ml-1" id="cancel-comment-reply-link" href="'.$link.'" style="display:none;">'.$text.'</a>';
$formatted_link = '<a rel="nofollow" class="btn btn-info bg-white border-oslo-gray align-self-center mt-3 ml-auto mr-1" id="cancel-comment-reply-link" href="'.$link.'" style="display:none;">'.$text.'</a>';
return $formatted_link;
}
add_filter( 'cancel_comment_reply_link', 'filter_cancel_comment_reply_link', 10, 3 );