File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
docs/src/components/Wrapper/components Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default class FooterLinks extends React.Component<FooterLinksProps> {
3131 style = { styles . root }
3232 >
3333 < p style = { styles . title } > { title } </ p >
34- < div style = { { margin : "8px 0" } } >
34+ < div style = { styles . links } >
3535 { links . map ( ( link , index ) => (
3636 < a
3737 style = { styles . link }
@@ -48,11 +48,7 @@ export default class FooterLinks extends React.Component<FooterLinksProps> {
4848 }
4949}
5050
51- function getStyles ( footerLinks : FooterLinks ) : {
52- root ?: React . CSSProperties ;
53- title ?: React . CSSProperties ;
54- link ?: React . CSSProperties ;
55- } {
51+ function getStyles ( footerLinks : FooterLinks ) {
5652 const {
5753 context : { theme } ,
5854 props : { style }
@@ -69,14 +65,19 @@ function getStyles(footerLinks: FooterLinks): {
6965 fontSize : 20 ,
7066 fontWeight : "lighter" ,
7167 color : "inherit"
72- } ,
68+ } as React . CSSProperties ,
69+ links : prefixStyle ( {
70+ margin : "8px 0" ,
71+ display : "flex" ,
72+ flexDirection : "column"
73+ } ) ,
7374 link : {
7475 display : "inline-block" ,
7576 fontSize : 12 ,
7677 margin : "12px 0" ,
7778 fontWeight : "lighter" ,
7879 color : "inherit" ,
7980 textDecoration : "none"
80- }
81+ } as React . CSSProperties
8182 } ;
8283}
You can’t perform that action at this time.
0 commit comments