Skip to content

Commit 1e31073

Browse files
Adjust examples in documentation (#1459)
* Adjust examples in documentation * Set up Circle as a self-closing element
1 parent 2afa75a commit 1e31073

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

livebooks/markdown/stylesheets.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ Then use the `template` attribute on the view to be injected into the stylesheet
464464

465465
```heex
466466
<Image style="overlay-circle">
467-
<Circle template="circle" style="stroke(.red, lineWidth: 4)" >
467+
<Circle template="circle" style="stroke(.red, lineWidth: 4)" />
468468
</Image>
469469
```
470470

@@ -520,7 +520,6 @@ defmodule ServerWeb.ExampleLive.SwiftUI do
520520

521521
def render(assigns) do
522522
~LVN"""
523-
<VStack>
524523
<VStack alignment="leading" style="padding()">
525524
<Text style="font(.title)">Turtle Rock</Text>
526525
<HStack style="font(.subheadline)">

0 commit comments

Comments
 (0)