fix margin auto lead to negativ positioning
This commit is contained in:
@@ -149,4 +149,14 @@
|
||||
<div id="margin_auto_left_stretching_child" style="width: 200px; height: 200px; align-items: center;">
|
||||
<div style="flex: 1; margin-left:auto;"></div>
|
||||
<div style="width: 50px; height: 50px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="margin_top_auto_overflow_parent" style="flex-direction:column; height: 500px; width: 20px;">
|
||||
<div style="height: 300px;"></div>
|
||||
<div style="margin-top: auto; height: 300px;"></div>
|
||||
</div>
|
||||
|
||||
<div id="margin_bottom_auto_overflow_parent" style="flex-direction:column; height: 500px; width: 20px;">
|
||||
<div style="height: 300px;"></div>
|
||||
<div style="margin-top: auto; height: 300px;"></div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user