Skip to content

Commit

Permalink
Post List: Fix the layout on mobile when details are open (#40872)
Browse files Browse the repository at this point in the history
* Page & Post: Fix the layout on mobile when details are open

* changelog
  • Loading branch information
arthur791004 authored Jan 9, 2025
1 parent f169f03 commit 9a36c92
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/packages/post-list/changelog/fix-edit-page-on-mobile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Page & Post: Fix the layout on mobile when details are open
10 changes: 10 additions & 0 deletions projects/packages/post-list/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,13 @@ th.column-thumbnail + th a {
th.column-thumbnail.hidden + th a {
margin-left:0;
}

@media screen and (max-width: 782px) {
/*
* Keep it as a table-cell.
* See https://github.com/WordPress/wordpress-develop/blob/4a9a928dbcd1c91d3633c8de51614dd90d8ea0ac/src/wp-admin/css/list-tables.css#L1969.
*/
.wp-list-table .is-expanded td:not(.hidden).column-thumbnail {
display: table-cell !important;
}
}
4 changes: 4 additions & 0 deletions projects/plugins/jetpack/changelog/fix-edit-page-on-mobile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: bugfix

Page & Post: Fix the layout on mobile when details are open
4 changes: 4 additions & 0 deletions projects/plugins/social/changelog/fix-edit-page-on-mobile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Page & Post: Fix the layout on mobile when details are open
4 changes: 4 additions & 0 deletions projects/plugins/wpcomsh/changelog/fix-edit-page-on-mobile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Page & Post: Fix the layout on mobile when details are open

0 comments on commit 9a36c92

Please sign in to comment.