Skip to content

Commit aaa2243

Browse files
author
Lachlan Campbell
committed
Remove margin around X
1 parent ac38c22 commit aaa2243

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/layout/position/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ <h3 class="f5 book pt4 caps">Position Relative + Absolute</h3>
121121
</div>
122122
</div>
123123
<div class="relative bg-black-10 h5 mbm br2">
124-
<span class="absolute top-0 right-0 ma2 white bg-black-50 pa2 tc br2">X</span>
124+
<span class="absolute top-0 right-0 white bg-black-50 pa2 tc br2">X</span>
125125
<p class="measure lh-copy pa3">
126126
This illustrates an absolutely positioned element that might always need to be in the top right of the content like a close button for a modal that needs to be dismissed.
127127
</p>

src/templates/docs/position/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h3 class="f5 book pt4 caps">Position Relative + Absolute</h3>
8585
</div>
8686
</div>
8787
<div class="relative bg-black-10 h5 mbm br2">
88-
<span class="absolute top-0 right-0 ma2 white bg-black-50 pa2 tc br2">X</span>
88+
<span class="absolute top-0 right-0 white bg-black-50 pa2 tc br2">X</span>
8989
<p class="measure lh-copy pa3">
9090
This illustrates an absolutely positioned element that might always need to be in the top right of the content like a close button for a modal that needs to be dismissed.
9191
</p>

0 commit comments

Comments
 (0)