We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fe02dd commit fce318fCopy full SHA for fce318f
assets/css/v2/style.css
@@ -1214,7 +1214,8 @@ h6:has(a):hover {
1214
1215
/* Hide all the cards past 3 if it is a featured card section */
1216
&.featured-section {
1217
- .card-section-content.card-grid > *:nth-child(n + 4) {
+ .card-section-content.card-grid
1218
+ > *:nth-child(n + 4 of div.card-container) {
1219
display: none;
1220
}
1221
@@ -1244,7 +1245,7 @@ h6:has(a):hover {
1244
1245
1246
1247
/* If there is no featured card, last card that is the 3rd one should be full width */
- &:not(:has(.featured-card)) .card-container:nth-child(3n):last-child {
1248
+ &:not(:has(.featured-card)) *:nth-child(n + 3 of div.card-container) {
1249
grid-column: 1 / -1;
1250
1251
0 commit comments