Include margin when calculating if children overflow
Summary: Include margin when calculating if children overflow Reviewed By: passy Differential Revision: D5044471 fbshipit-source-id: e7c1eb694445ffb898bcf375d9deefc558c49f11
This commit is contained in:
committed by
Facebook Github Bot
parent
85c2e406e4
commit
488a7c1fe0
@@ -124,4 +124,15 @@
|
||||
<div style="width: 100px; height: 500px; max-height: 200px; flex: 1;"></div>
|
||||
<div style="width: 200px; height: 200px; margin: 20px; flex: 1"></div>
|
||||
<div style="width: 100px; height: 100px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="wrap_nodes_with_content_sizing_overflowing_margin" style="width: 500px; height: 500px;">
|
||||
<div style="flex-direction: row; flex-wrap: wrap; width: 85px;">
|
||||
<div>
|
||||
<div style="height: 40px; width: 40px;"></div>
|
||||
</div>
|
||||
<div style="margin-right: 10px;">
|
||||
<div style="height: 40px; width: 40px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user