File tree Expand file tree Collapse file tree 2 files changed +4
-20
lines changed
react/src/pages/CustomPage Expand file tree Collapse file tree 2 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,10 @@ interface TabPanelProps {
1313}
1414
1515const TabPanel = ( { children, value, index, ...other } : TabPanelProps ) => (
16- < div
17- role = "tabpanel"
18- hidden = { value !== index }
19- style = { { overflowWrap : 'break-word' } }
20- { ...other }
21- >
16+ < div role = "tabpanel" hidden = { value !== index } { ...other } >
2217 { value === index && (
2318 < Box m = "5%" >
24- < div style = { { whiteSpace : 'pre-wrap' , overflowWrap : 'anywhere' } } >
25- { children }
26- </ div >
19+ < div style = { { whiteSpace : 'pre-wrap' } } > { children } </ div >
2720 </ Box >
2821 ) }
2922 </ div >
@@ -44,7 +37,6 @@ const About = () => {
4437 value = { value }
4538 onChange = { ( e , newValue ) => setValue ( newValue ) }
4639 scrollButtons
47- style = { { overflowWrap : 'anywhere' } }
4840 allowScrollButtonsMobile
4941 >
5042 < Tab wrapped label = "Introduction" />
Original file line number Diff line number Diff line change @@ -12,17 +12,10 @@ interface TabPanelProps {
1212}
1313
1414const TabPanel = ( { children, value, index, ...other } : TabPanelProps ) => (
15- < div
16- role = "tabpanel"
17- hidden = { value !== index }
18- style = { { overflowWrap : 'break-word' } }
19- { ...other }
20- >
15+ < div role = "tabpanel" hidden = { value !== index } { ...other } >
2116 { value === index && (
2217 < Box m = "5%" >
23- < div style = { { whiteSpace : 'pre-wrap' , overflowWrap : 'anywhere' } } >
24- { children }
25- </ div >
18+ < div style = { { whiteSpace : 'pre-wrap' } } > { children } </ div >
2619 </ Box >
2720 ) }
2821 </ div >
@@ -43,7 +36,6 @@ const Contribute = () => {
4336 value = { value }
4437 onChange = { ( e , newValue ) => setValue ( newValue ) }
4538 scrollButtons
46- style = { { overflowWrap : 'anywhere' } }
4739 allowScrollButtonsMobile
4840 >
4941 < Tab wrapped label = "Donate" />
You can’t perform that action at this time.
0 commit comments