Skip to content

Commit 45cb9d3

Browse files
committed
Website: update pre & hr styles
1 parent a8202c2 commit 45cb9d3

File tree

1 file changed

+5
-5
lines changed
  • website/src/components/shared

1 file changed

+5
-5
lines changed

website/src/components/shared/Html.re

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ let styles =
5757
~color="#515355",
5858
(),
5959
),
60-
"pre": viewStyle(),
60+
"pre": viewStyle(~marginTop=0.->dp, ~marginBottom=20.->dp, ()),
6161
"codeBlock": viewStyle(), // ~backgroundColor=lightGrey,
6262
// ~boxShadow=0 0 0 2px lightGrey;
6363
// ~borderRadius=2.;
@@ -71,10 +71,10 @@ let styles =
7171
),
7272
"hr":
7373
viewStyle(
74-
~marginBottom=29.->dp,
75-
~marginHorizontal=29.->dp,
76-
~height=3.->dp,
77-
~backgroundColor="#ddd",
74+
~marginVertical=40.->dp,
75+
~marginHorizontal=20.->dp,
76+
~height=4.->dp,
77+
~backgroundColor="#eee",
7878
(),
7979
),
8080
})

0 commit comments

Comments
 (0)