File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/components/BannerGrid Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -39,17 +39,15 @@ export const BannerGrid = ({ children }: ChildOnlyProp) => {
39
39
export const BannerGridCell = ( { children } : ChildOnlyProp ) => {
40
40
return (
41
41
< Flex
42
- // TODO: refactor className to make it more readable
43
42
className = { cn (
44
43
"px-0 py-8 md:px-12" ,
45
44
"flex-col" ,
46
45
"border-t border-t-search-background" ,
47
46
"md:border-l md:border-l-search-background" ,
48
47
"first:border-t-0" ,
49
- "md:[&:nth-child(-n+2)]:border-t-0 md:[&:nth-child(2n+1)]:border-l-0" ,
50
48
"lg:[&:first-child]:border-l-0" ,
51
- "lg:[&:nth-child(-n+2)]:border-t lg:[&:nth-child(-n+2)]:border-t-search-background" ,
52
- "lg:[&:nth-child(2n+1)]:border-l lg:[&:nth-child(2n+1)]:border-l-search-background" ,
49
+ "md:[&:nth-child(-n+2)]:border-t-0 lg:[&:nth-child(-n+2)]:border-t lg:[&:nth-child(-n+2)]:border-t-search-background" ,
50
+ "md:[&:nth-child(2n+1)]:border-l-0 lg:[&:nth-child(2n+1)]:border-l lg:[&:nth-child(2n+1)]:border-l-search-background" ,
53
51
"lg:[&:nth-child(-n+3)]:justify-start lg:[&:nth-child(-n+3)]:border-t-0 lg:[&:nth-child(-n+3)]:pt-0" ,
54
52
"lg:[&:nth-child(3n+1)]:border-l-0 lg:[&:nth-child(3n+1)]:ps-0" ,
55
53
"lg:[&:nth-child(n+4)]:justify-start lg:[&:nth-child(n+4)]:pb-0"
You can’t perform that action at this time.
0 commit comments