Skip to content

Commit 6727d18

Browse files
committed
Customizer: Fix Copy button alignment in Share Preview.
Following the admin reskin, the Copy link button for sharing customizer previews was misaligned. Override core button disabled styles to set transform and background properties. Fix shadow height. Props mohitbsf, audrasjb, hbhalodia, huzaifaalmesbah, sajib1223, joedolson. Fixes #64688. git-svn-id: https://develop.svn.wordpress.org/trunk@61730 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a942bdf commit 6727d18

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/wp-admin/css/customize-controls.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,9 @@ body.trashing #publish-settings {
273273
margin: 0;
274274
position: absolute;
275275
top: 50%;
276-
transform: translateY(-50%);
276+
transform: translateY(-50%) !important;
277277
right: 0;
278+
background: #fff !important;
278279
}
279280

280281
.preview-link-wrapper {
@@ -284,7 +285,7 @@ body.trashing #publish-settings {
284285
.customize-copy-preview-link:before,
285286
.customize-copy-preview-link:after {
286287
content: "";
287-
height: 32px;
288+
height: 40px;
288289
position: absolute;
289290
background: #fff;
290291
top: 0;

0 commit comments

Comments
 (0)