Skip to content

Commit

Permalink
Add square comments to cheatsheet (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-cfuller authored Feb 5, 2024
1 parent 85e6aa7 commit f933193
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cheatsheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,11 @@ <h3>Height</h3>
to: 100,
priority: .high)</pre>
<h3>Square</h3>
<pre>// Shape //</pre>
<pre>square(100)</pre>
<pre>square(100, priority: .high)</pre>
<pre>square() // square aspect ratio</pre>
<pre>// Aspect Ratio //</pre>
<pre>square()</pre>
<h3>Aspect Ratio</h3>
<pre>aspectRatio(0.5)</pre>
<pre>aspectRatio(0.5, priority: .high)</pre>
Expand Down Expand Up @@ -283,6 +285,7 @@ <h3>Height</h3>
<pre>heightConstraint()</pre>
<pre>heightConstraint(100)</pre>
<h3>Square</h3>
<pre>// Aspect Ratio //</pre>
<pre>squareConstraint()</pre>
<h3>Aspect Ratio</h3>
<pre>aspectRatioConstraint(0.5)</pre>
Expand Down

0 comments on commit f933193

Please sign in to comment.