diff --git a/view/frontend/web/css/home/_popular.less b/view/frontend/web/css/home/_popular.less index bde51d5..b5f6160 100644 --- a/view/frontend/web/css/home/_popular.less +++ b/view/frontend/web/css/home/_popular.less @@ -6,14 +6,8 @@ > ul > li { @media screen and (min-width: 681px) { width: calc(100% / 3); - &:first-of-type, &:nth-child(3n+4) { - padding-left: 0; - padding-right: 1.2em; - } - &:last-of-type, &:nth-child(3n+3) { - padding-right: 0; - padding-left: 1.2em; - } + &:first-of-type, &:nth-child(3n+4) {padding-left: 0; padding-right: 1.2em;} + &:last-of-type, &:nth-child(3n+3) {padding-left: 1.2em; padding-right: 0;} } } > h2 {