Using the full width of the browser window

Hello

Anyone know if I can make my Custom Collection wider? See screenshots.

This is a Data Grid component, set inside a Custom Collection component.

I have already added

div[class*=“container”] {
max-width: 100vw;
}

Which made the bars across the top wider, but I am hoping to do the same with the Custom Collection.

Note I have separate views for Small and Large screen - so this would not be required for mobile.

Andrew

Can you try this to see if it helps?

That worked perfectly! Thank you so much @ThinhDinh

I have also got it working for just one container (with custom CSS class detailDesktop) using this

.detailDesktop div[class*="section-container"] > div,
.detailDesktop div[class*="container-padding-md"],
.detailDesktop div[class*="single-column justify-center"],
.detailDesktop div[class*="renderer___StyledDiv6"] {
  max-width: 100%;
}

Thanks again!

Andrew

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.