1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-22 13:42:50 +02:00

The details page supports smaller screens

This commit is contained in:
Phuoc Nguyen
2020-02-04 11:55:49 +07:00
parent 6505d1e478
commit 8af4debb53
96 changed files with 107 additions and 140 deletions

View File

@@ -19,7 +19,7 @@ const Details: React.FC<{}> = () => {
<meta name="description" content="Create an initial avatar with CSS" />
<meta name="keywords" content="css avatar" />
</Helmet>
<div style={{ padding: '64px 32px' }}>
<div className='p-8 pb-20'>
<div style={{ lineHeight: 1.5, marginBottom: '16px' }}>
To center the content, you also can use other technique demonstrated in
the <Link to='/patterns/centering'>Centering</Link> pattern.