Skip to content

Commit 6eeb6b9

Browse files
authored
Fixing CSS for changing the number of columns in the loop grid. (#3102)
1 parent 094ff12 commit 6eeb6b9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
significance: patch
2+
type: fixed
3+
links:
4+
- "#3101"
5+
entry: Fix lifterlms_loop_columns filter styling to change the number of columns
6+
in a loop (ie. Course Catalog).

assets/scss/frontend/_loop.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@media all and (min-width: 600px) {
2424
$cols: 1;
2525
@while $cols <= 6 {
26-
&.cols-#{$cols} .llms-loop-item {
26+
&.cols-#{$cols} {
2727
grid-template-columns: repeat($cols, minmax(0, 1fr));
2828
}
2929
$cols: $cols + 1;

0 commit comments

Comments
 (0)