Implement standard WordPress plugin grid layout

This commit is contained in:
Marcus Quinn
2025-03-16 05:27:40 +00:00
parent b8c4667e8a
commit eb26745c76

View File

@ -20,10 +20,20 @@
box-sizing: border-box;
}
/* Standard WordPress Plugin Grid Layout */
.wp-list-table.plugin-install {
margin-top: 10px;
}
#the-list {
display: flex;
flex-wrap: wrap;
}
/* Plugin Cards */
.plugin-card {
width: calc(50% - 16px);
margin: 8px;
width: 48.5%;
margin: 0 3% 3% 0;
background-color: #fff;
border: 1px solid #dcdcde;
box-sizing: border-box;
@ -33,6 +43,17 @@
border-radius: 3px;
}
.plugin-card:nth-child(even) {
margin-right: 0;
}
@media screen and (max-width: 782px) {
.plugin-card {
width: 100%;
margin-right: 0;
}
}
.plugin-card:hover {
border-color: #999;
}