1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-19 04:11:24 +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

@@ -50,7 +50,7 @@ const Details: React.FC<{}> = () => {
<meta name="description" content="Create a keyboard shortcut with CSS" />
<meta name="keywords" content="kbd tag, keyboard shortcut" />
</Helmet>
<div style={{ padding: '64px 32px' }}>
<div className='p-8 pb-20'>
<div style={{ lineHeight: 1.5, marginBottom: '16px' }}>
We use the native <code>kbd</code> tag to display the keyboard shortcut.
</div>