Skip to content

Commit

Permalink
Merge pull request #920 from zigasancin/fix/amp-wp-preview-icon-in-fi…
Browse files Browse the repository at this point in the history
…refox

Fix AMP preview icon in Firefox
  • Loading branch information
westonruter authored Feb 1, 2018
2 parents 1c50440 + f99aefe commit 72638ca
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions assets/css/amp-post-meta-box.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,21 @@
border-top-left-radius: 0;
border-bottom-left-radius: 0;
text-indent: -9999px;
padding-right: 7px;
padding-left: 7px;
padding-right: 14px;
padding-left: 14px;
position: relative;
}

.wp-core-ui #amp-post-preview.preview::after {
content: "icon";
width: 14px;
float: left;
background: no-repeat center url( '../images/amp-icon.svg' );
background-size: 14px !important;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
position: absolute;
}

.wp-core-ui #amp-post-preview.preview.disabled::after {
Expand Down

0 comments on commit 72638ca

Please sign in to comment.