Skip to content

Commit

Permalink
Improve cheatsheet column spacing and margins (#354)
Browse files Browse the repository at this point in the history
* Reduce space between cheatsheet columns

* Increase space between cheatsheet columns

* Add space to sides of cheatsheet
  • Loading branch information
tinder-cfuller authored Mar 2, 2024
1 parent f99302a commit e515bc6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cheatsheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ <h1 align="center">Layout &ndash; High Fidelity Auto Layout for UIKit</h1>
<h2 align="center"><a href="https://github.com/Tinder/Layout">https://github.com/Tinder/Layout</a></h2>
<table>
<tr>
<td>&nbsp;&nbsp;&nbsp;</td>
<td>
<h2>Layout Examples</h2>
<h3>Single Subview</h3>
Expand Down Expand Up @@ -127,7 +128,7 @@ <h3>Animation</h3>
<p>This method is useful when animating constraints.</p>
<pre>update()</pre>
</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<h2>Layout Item Methods</h2>
<h3>Size</h3>
Expand Down Expand Up @@ -254,7 +255,7 @@ <h3>Accessibility Identifier</h3>
<pre>identifier = "identifier"</pre>
<pre>id("identifier")</pre>
</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<h2>View Methods</h2>
<h3>Builder</h3>
Expand Down Expand Up @@ -384,7 +385,7 @@ <h3>Visual Format Language</h3>
metrics: [:],
options: formatOptions)</pre>
</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<h2>Arguments</h2>
<h3>Anchors</h3>
Expand Down Expand Up @@ -468,6 +469,7 @@ <h3>Autoresizing Mask</h3>
<pre>bottomRight</pre>
<pre>scaleWithSuperview</pre>
</td>
<td>&nbsp;&nbsp;&nbsp;</td>
</tr>
</table>
<h4 align="center">Copyright &copy; 2024 Tinder (Match Group, LLC)</h4>
Expand Down

0 comments on commit e515bc6

Please sign in to comment.