Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 7 additions & 52 deletions src/wp-admin/css/list-tables.css
Original file line number Diff line number Diff line change
Expand Up @@ -1440,6 +1440,7 @@ ul.cat-checklist input[name="post_category[]"]:indeterminate::before {
.plugin-install-php #the-list {
display: flex;
flex-wrap: wrap;
gap: 16px;
}

.plugin-install-php .plugin-card {
Expand All @@ -1460,6 +1461,10 @@ ul.cat-checklist input[name="post_category[]"]:indeterminate::before {
margin-bottom: 0;
}

.plugin-install-php .wp-filter {
margin-bottom: 0;
}

/* Plugin card table view */
.plugin-group {
overflow: hidden; /* clearfix */
Expand All @@ -1471,71 +1476,21 @@ ul.cat-checklist input[name="post_category[]"]:indeterminate::before {
}

.plugin-card {
float: left;
margin: 0 8px 16px;
width: 48.5%;
width: calc( 50% - 8px );
background-color: #fff;
border: 1px solid #dcdcde;
box-sizing: border-box;
}

.plugin-card:nth-child(odd) {
clear: both;
margin-left: 0;
}

.plugin-card:nth-child(even) {
margin-right: 0;
}

@media screen and (min-width: 1600px) and ( max-width: 2299px ) {
.plugin-card {
width: 30%;
width: calc( 33.1% - 8px );
}

.plugin-card:nth-child(odd) {
clear: none;
margin-left: 8px;
}

.plugin-card:nth-child(even) {
margin-right: 8px;
}

.plugin-card:nth-child(3n+1) {
clear: both;
margin-left: 0;
}

.plugin-card:nth-child(3n) {
margin-right: 0;
width: calc( (100% - 32px) / 3 );
}
}

@media screen and (min-width: 2300px) {
.plugin-card {
width: 25%;
width: calc( 25% - 12px );
}

.plugin-card:nth-child(odd) {
clear: none;
margin-left: 8px;
}

.plugin-card:nth-child(even) {
margin-right: 8px;
}

.plugin-card:nth-child(4n+1) {
clear: both;
margin-left: 0;
}

.plugin-card:nth-child(4n) {
margin-right: 0;
width: calc( (100% - 48px) / 4 );
}
}

Expand Down
Loading