Fix plugin grid layout to show exactly two per row and remove divider lines
This commit is contained in:
@ -27,9 +27,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#the-list {
|
#the-list {
|
||||||
display: flex;
|
display: block;
|
||||||
flex-wrap: wrap;
|
|
||||||
margin: 0 -8px; /* Negative margin to offset padding */
|
margin: 0 -8px; /* Negative margin to offset padding */
|
||||||
|
overflow: hidden; /* Clearfix for floats */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Plugin Cards */
|
/* Plugin Cards */
|
||||||
@ -42,6 +42,11 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.plugin-card:nth-child(2n+1) {
|
||||||
|
clear: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugin-card .plugin-card-inner {
|
.plugin-card .plugin-card-inner {
|
||||||
@ -121,7 +126,6 @@
|
|||||||
clear: both;
|
clear: both;
|
||||||
padding: 12px 20px;
|
padding: 12px 20px;
|
||||||
background-color: #f6f7f7;
|
background-color: #f6f7f7;
|
||||||
border-top: 1px solid #dcdcde;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
border-radius: 0 0 3px 3px;
|
border-radius: 0 0 3px 3px;
|
||||||
@ -475,11 +479,6 @@
|
|||||||
.plugin-card-bottom > div {
|
.plugin-card-bottom > div {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
border-top: 1px solid #dcdcde;
|
|
||||||
}
|
|
||||||
|
|
||||||
.plugin-card-bottom > div:first-child {
|
|
||||||
border-top: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-downloaded,
|
.column-downloaded,
|
||||||
|
Reference in New Issue
Block a user