Skip to content

Commit f87aaa8

Browse files
authored
Remove backticks and center snippets at the home page (#283)
1 parent d513a99 commit f87aaa8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

web/src/main/scala/net/wiringbits/components/pages/HomePage.scala

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ import slinky.web.html._
3636
"snippet" -> CSSProperties()
3737
.setMaxWidth(800)
3838
.setWidth("100%")
39-
.setMargin("1em 0"),
39+
.setDisplay("block")
40+
.setMargin("1em auto"),
4041
"screenshot" -> CSSProperties()
4142
.setMaxWidth(1200)
4243
.setWidth("100%")
@@ -110,11 +111,11 @@ import slinky.web.html._
110111
paragraph(
111112
Fragment(
112113
link(texts.tryIt, "https://template-demo-admin.wiringbits.net"),
113-
" (user=`",
114+
" (user=",
114115
strong("demo"),
115-
"`, password=`",
116+
", password=",
116117
strong("wiringbits"),
117-
"`)"
118+
")"
118119
)
119120
)
120121
)

0 commit comments

Comments
 (0)