Skip to content

Commit 69e4bb7

Browse files
authored
fix: README table (#585)
Update that maxHeight, maxWidth, minHeight and minWidth are unsupported for `fit-content`. reference: [MDN max-height](https://developer.mozilla.org/en-US/docs/Web/CSS/max-height)
1 parent 29fe2e4 commit 69e4bb7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ Satori uses the same Flexbox [layout engine](https://yogalayout.com) as React Na
151151
<tr><td><code>height</code></td><td>Supported</td><td></td></tr>
152152

153153
<tr><td rowspan="5">Min & max size</td></tr>
154-
<tr><td><code>minWidth</code></td><td>Supported except for <code>min-content</code> and <code>max-content</code></td><td></td></tr>
155-
<tr><td><code>minHeight</code></td><td>Supported except for <code>min-content</code> and <code>max-content</code></td><td></td></tr>
156-
<tr><td><code>maxWidth</code></td><td>Supported except for <code>min-content</code> and <code>max-content</code></td><td></td></tr>
157-
<tr><td><code>maxHeight</code></td><td>Supported except for <code>min-content</code> and <code>max-content</code></td><td></td></tr>
154+
<tr><td><code>minWidth</code></td><td>Supported except for <code>min-content</code>, <code>max-content</code> and <code>fit-content</code></td><td></td></tr>
155+
<tr><td><code>minHeight</code></td><td>Supported except for <code>min-content</code>, <code>max-content</code> and <code>fit-content</code></td><td></td></tr>
156+
<tr><td><code>maxWidth</code></td><td>Supported except for <code>min-content</code>, <code>max-content</code> and <code>fit-content</code></td><td></td></tr>
157+
<tr><td><code>maxHeight</code></td><td>Supported except for <code>min-content</code>, <code>max-content</code> and <code>fit-content</code></td><td></td></tr>
158158

159159
<tr><td rowspan="5"><code>border</code></td></tr>
160160
<tr><td>Width (<code>borderWidth</code>, <code>borderTopWidth</code>, ...)</td><td>Supported</td><td></td></tr>

0 commit comments

Comments
 (0)