Skip to content

Commit 860e5fa

Browse files
committed
Taxonomy: Fix delete button alignment on Edit Tag screen.
The delete button on the Edit Tag screen was misaligned after the form control updates in [61645]. Switch the action buttons row to a flexbox layout for stable alignment. Follow-up to [61645]. Props mukesh27, tusharbharti, wildworks. Fixes #65233. git-svn-id: https://develop.svn.wordpress.org/trunk@62357 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 83d68ce commit 860e5fa

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

src/wp-admin/css/common.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -942,13 +942,6 @@ a#remove-post-thumbnail:hover,
942942
line-height: 2.30769231; /* 30px */
943943
}
944944

945-
#delete-link {
946-
line-height: 2.30769231; /* 30px */
947-
vertical-align: middle;
948-
text-align: left;
949-
margin-left: 8px;
950-
}
951-
952945
#delete-link a {
953946
text-decoration: none;
954947
}

src/wp-admin/css/edit.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,6 +1542,9 @@ p.popular-tags a {
15421542
}
15431543

15441544
.edit-tag-actions {
1545+
display: flex;
1546+
align-items: center;
1547+
gap: 8px;
15451548
margin-top: 20px;
15461549
}
15471550

0 commit comments

Comments
 (0)