File tree 2 files changed +14
-14
lines changed
pages/Courts/CourtDetails
2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -17,32 +17,30 @@ const Container = styled.div`
17
17
const TextContainer = styled . div `
18
18
width: 100%;
19
19
padding: 12px 0;
20
+ ` ;
20
21
22
+ const StyledReactMarkdown = styled ( ReactMarkdown ) `
21
23
p {
22
24
word-break: break-word;
23
25
}
24
26
25
- li {
26
- line-height: 1.5em;
27
- margin-top: 0.5em;
27
+ ul,
28
+ ol {
29
+ li + li {
30
+ margin-top: 8px;
31
+ }
28
32
}
29
33
30
34
h1 {
31
35
margin: 16px 0 16px 0;
32
- font-size: 24px;
33
- line-height: 32px;
34
36
}
35
37
36
38
h2 {
37
39
margin: 16px 0 16px 0;
38
- font-size: 20px;
39
- line-height: 24px;
40
40
}
41
41
42
42
h3 {
43
43
margin: 16px 0 16px 0;
44
- font-size: 18px;
45
- line-height: 20px;
46
44
}
47
45
48
46
a {
@@ -128,6 +126,6 @@ const Description: React.FC = () => {
128
126
} ;
129
127
130
128
const formatMarkdown = ( markdown ?: string ) =>
131
- markdown ? < ReactMarkdown > { markdown . replace ( / \n / g, " \n" ) } </ ReactMarkdown > : < StyledSkeleton /> ;
129
+ markdown ? < StyledReactMarkdown > { markdown . replace ( / \n / g, " \n" ) } </ StyledReactMarkdown > : < StyledSkeleton /> ;
132
130
133
131
export default Description ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export const GlobalStyle = createGlobalStyle`
46
46
47
47
h2 {
48
48
margin: 0 0 16px 0;
49
- font-weight: 600 ;
49
+ font-weight: 400 ;
50
50
font-size: 24px;
51
51
line-height: 32px;
52
52
color: ${ ( { theme } ) => theme . primaryText } ;
@@ -93,7 +93,7 @@ export const GlobalStyle = createGlobalStyle`
93
93
color: ${ ( { theme } ) => theme . primaryBlue } ;
94
94
transition: color 0.1s;
95
95
}
96
-
96
+
97
97
hr {
98
98
opacity: 1;
99
99
border: 1px solid ${ ( { theme } ) => theme . stroke } ;
@@ -102,12 +102,14 @@ export const GlobalStyle = createGlobalStyle`
102
102
svg, img {
103
103
display: inline-block;
104
104
vertical-align: middle;
105
- visibility: visible;
106
-
105
+ visibility: visible;
107
106
}
108
107
109
108
ul, ol {
110
109
li {
110
+ font-weight: 400;
111
+ font-size: 16px;
112
+ line-height: 24px;
111
113
color: ${ ( { theme } ) => theme . primaryText } ;
112
114
}
113
115
}
You can’t perform that action at this time.
0 commit comments