mirror of
https://github.com/tjsga/tj-sga-website-react.git
synced 2025-04-09 22:50:17 -04:00
add flex to segments
This commit is contained in:
parent
f144b6aa93
commit
1099f4ad75
|
@ -3,7 +3,7 @@ import SegmentHeader from './SegmentHeader';
|
||||||
|
|
||||||
export default function Segment({ title, content, imageUrl, infoUrl }) {
|
export default function Segment({ title, content, imageUrl, infoUrl }) {
|
||||||
return (
|
return (
|
||||||
<div style={{ textAlign: 'center', padding: '0px 17px' }}>
|
<div style={{ textAlign: 'center', padding: '0px 17px', flex: 1 }}>
|
||||||
<SegmentHeader>{title}</SegmentHeader>
|
<SegmentHeader>{title}</SegmentHeader>
|
||||||
<img src={imageUrl} alt={title} />
|
<img src={imageUrl} alt={title} />
|
||||||
<p className='strong-paragraph'>{content}</p>
|
<p className='strong-paragraph'>{content}</p>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user