Skip to content

Commit

Permalink
fix: padding issue, update icon
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhtungdu committed Feb 23, 2021
1 parent 4f16a12 commit 501f12e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
4 changes: 2 additions & 2 deletions assets/css/admin-autoshare-for-twitter.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ span.over-limit {
/* Styling for post columns */
.fixed .column-is_tweeted {
width: 50px;
padding: 15px 0;
vertical-align: middle;
}

.fixed .column-is_tweeted a {
Expand All @@ -127,6 +127,6 @@ span.over-limit {
width: 25px;
}

.autoshare-for-twitter-status-logo.allow-hover:hover::before {
tbody .autoshare-for-twitter-status-logo:hover::before {
background-image: url('../images/twitter_blue.svg');
}
6 changes: 5 additions & 1 deletion assets/images/twitter_black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion assets/images/twitter_blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions includes/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ function modify_post_type_add_tweet_status( $column_name, $post_id ) {

printf(
'<a href="' . esc_url( $twitter_url ) . '" target="_blank" title="' . esc_attr( $tweet_title ) . '">
<span class="autoshare-for-twitter-status-logo allow-hover"></span>
</a>'
<span class="autoshare-for-twitter-status-logo"></span>
</a>'
);
}
}

0 comments on commit 501f12e

Please sign in to comment.