Fix align on comments buttons
This commit is contained in:
parent
941efcb80f
commit
961cadceb5
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue