File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
pages/Courts/CourtDetails Expand file tree Collapse file tree 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`
1717const TextContainer = styled . div `
1818 width: 100%;
1919 padding: 12px 0;
20+ ` ;
2021
22+ const StyledReactMarkdown = styled ( ReactMarkdown ) `
2123 p {
2224 word-break: break-word;
2325 }
2426
25- li {
26- line-height: 1.5em;
27- margin-top: 0.5em;
27+ ul,
28+ ol {
29+ li + li {
30+ margin-top: 8px;
31+ }
2832 }
2933
3034 h1 {
3135 margin: 16px 0 16px 0;
32- font-size: 24px;
33- line-height: 32px;
3436 }
3537
3638 h2 {
3739 margin: 16px 0 16px 0;
38- font-size: 20px;
39- line-height: 24px;
4040 }
4141
4242 h3 {
4343 margin: 16px 0 16px 0;
44- font-size: 18px;
45- line-height: 20px;
4644 }
4745
4846 a {
@@ -128,6 +126,6 @@ const Description: React.FC = () => {
128126} ;
129127
130128const formatMarkdown = ( markdown ?: string ) =>
131- markdown ? < ReactMarkdown > { markdown . replace ( / \n / g, " \n" ) } </ ReactMarkdown > : < StyledSkeleton /> ;
129+ markdown ? < StyledReactMarkdown > { markdown . replace ( / \n / g, " \n" ) } </ StyledReactMarkdown > : < StyledSkeleton /> ;
132130
133131export default Description ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export const GlobalStyle = createGlobalStyle`
4646
4747 h2 {
4848 margin: 0 0 16px 0;
49- font-weight: 600 ;
49+ font-weight: 400 ;
5050 font-size: 24px;
5151 line-height: 32px;
5252 color: ${ ( { theme } ) => theme . primaryText } ;
@@ -93,7 +93,7 @@ export const GlobalStyle = createGlobalStyle`
9393 color: ${ ( { theme } ) => theme . primaryBlue } ;
9494 transition: color 0.1s;
9595 }
96-
96+
9797 hr {
9898 opacity: 1;
9999 border: 1px solid ${ ( { theme } ) => theme . stroke } ;
@@ -102,12 +102,14 @@ export const GlobalStyle = createGlobalStyle`
102102 svg, img {
103103 display: inline-block;
104104 vertical-align: middle;
105- visibility: visible;
106-
105+ visibility: visible;
107106 }
108107
109108 ul, ol {
110109 li {
110+ font-weight: 400;
111+ font-size: 16px;
112+ line-height: 24px;
111113 color: ${ ( { theme } ) => theme . primaryText } ;
112114 }
113115 }
You can’t perform that action at this time.
0 commit comments