Update plugin tile layout to single centered column with max width 700px
This commit is contained in:
@ -8,12 +8,12 @@
|
||||
|
||||
/* Plugin List Container */
|
||||
.wp-allstars-wrap #wpa-plugin-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
|
||||
gap: 24px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
max-width: 1920px;
|
||||
max-width: 700px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@ -21,8 +21,10 @@
|
||||
.wp-allstars-wrap #wpa-plugin-filters.wp-filter {
|
||||
margin: 0 0 22px 0 !important;
|
||||
width: 100%;
|
||||
max-width: 700px;
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
margin: 0 auto !important;
|
||||
}
|
||||
|
||||
/* Center filter links */
|
||||
@ -39,7 +41,7 @@
|
||||
|
||||
/* Plugin Cards */
|
||||
.plugin-card {
|
||||
margin: 0 !important;
|
||||
margin: 0 0 24px 0 !important;
|
||||
width: 100% !important;
|
||||
background-color: #fff;
|
||||
border: 1px solid #dcdcde;
|
||||
@ -52,6 +54,10 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.plugin-card:last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.plugin-card:hover {
|
||||
border-color: #2271b1 !important;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
|
||||
@ -99,6 +105,7 @@
|
||||
display: flex !important;
|
||||
flex-wrap: wrap !important;
|
||||
gap: 8px !important;
|
||||
justify-content: flex-end !important;
|
||||
}
|
||||
|
||||
.plugin-action-buttons {
|
||||
@ -114,24 +121,10 @@
|
||||
margin-top: auto !important;
|
||||
}
|
||||
|
||||
/* Responsive Adjustments */
|
||||
@media screen and (max-width: 960px) {
|
||||
.wp-allstars-wrap #wpa-plugin-list {
|
||||
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
|
||||
gap: 20px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.plugin-card-top {
|
||||
padding: 20px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Responsive Adjustments - maintain single column but adjust padding */
|
||||
@media screen and (max-width: 782px) {
|
||||
.wp-allstars-wrap #wpa-plugin-list {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
padding: 12px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.plugin-card-top {
|
||||
|
Reference in New Issue
Block a user