Skip to content

Commit c212684

Browse files
committed
Admin: Fix dismiss button alignment in Welcome panel.
Fix the icon alignment in the welcome panel close button following the admin reskin. Props mohitbsf, opurockey, huzaifaalmesbah, joedolson. Fixes #64681. git-svn-id: https://develop.svn.wordpress.org/trunk@61728 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 75decb7 commit c212684

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/wp-admin/css/dashboard.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,20 +219,19 @@
219219
}
220220

221221
.welcome-panel .welcome-panel-close {
222+
display: flex;
223+
align-items: center;
222224
position: absolute;
223225
top: 10px;
224226
right: 10px;
225-
padding: 10px 15px 10px 24px;
227+
padding: 10px 15px;
226228
font-size: 13px;
227229
line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
228230
text-decoration: none;
229231
z-index: 1; /* Raise above the version image. */
230232
}
231233

232234
.welcome-panel .welcome-panel-close:before {
233-
position: absolute;
234-
top: 8px;
235-
left: 0;
236235
transition: all .1s ease-in-out;
237236
content: '\f335';
238237
font-size: 24px;

0 commit comments

Comments
 (0)