You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following example, a flex container (the .inner div) has its margin-left and margin-right properties set to auto, which should cause it to be centered in its parent div. Instead, it is positioned at the left edge of the .outer div.
WeasyPrint does this correctly when the inner div gets changed to display: block.
(This may or may not be related to #1171, although that issues talks about nested flex containers, whereas in my case the outer container is a normal block element.)
In the following example, a flex container (the
.inner
div) has itsmargin-left
andmargin-right
properties set toauto
, which should cause it to be centered in its parent div. Instead, it is positioned at the left edge of the.outer
div.WeasyPrint does this correctly when the inner div gets changed to
display: block
.(This may or may not be related to #1171, although that issues talks about nested flex containers, whereas in my case the outer container is a normal block element.)
The text was updated successfully, but these errors were encountered: