Skip to content

Commit d876a4a

Browse files
committed
Cumulative Layout Shift
1 parent 74b153c commit d876a4a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

view/frontend/web/css/source/_module.less

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
/* List layout */
5454

5555
.magepow-categories-list li {
56-
display: block;
5756
margin: 0;
5857
padding: 0;
5958
border: none;
@@ -79,16 +78,16 @@
7978
width: 100%;
8079
}
8180

82-
.magepow-categories-list .magepow-categories-category-name {
83-
margin: 0 0 16px 20%; /* These percentages must match 2/3 */
84-
padding: 0 0 0 32px;
85-
}
86-
81+
.magepow-categories-list .magepow-categories-category-name,
8782
.magepow-categories-list .magepow-categories-category-description {
88-
margin: 0 0 16px 20%; /* These percentages must match 3/3 */
83+
margin: 0 0 16px 20%;
8984
padding: 0 0 0 32px;
9085
}
9186

87+
.magepow-categories .category-item{
88+
display: inline-block;
89+
float: left;
90+
}
9291

9392
/* Media Queries */
9493

0 commit comments

Comments
 (0)