tailwindcss-container-bleed
tailwindcss-container-bleed copied to clipboard
`br-container` does not get the correct margin when max-width is used for `container`
Steps to repro
- set
max-w-proseclass on the same element that hascontainer - Then use
br-containeras a child - You will notice that the margin is not calculated correctly.
Found that document.documentElement.style.setProperty('--current-screen', 'calc(min(100%,65ch) + var(--container-padding) * 2 )') will set it correct.
I'll consider a good implementation - but the difficult part is that this can change on different pages depending on the container max width