diff options
| author | Haishan <[email protected]> | 2019-11-17 17:31:59 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2019-11-17 17:31:59 +0800 |
| commit | c28ff93b67a3da5cbff0d2ffeddfc16fd1dd3438 (patch) | |
| tree | 0c3d6fd0964ffcb00078e4fda52ecd03e39b4dce /src/components/ContentHeader.module.css | |
| parent | 0df74757914123d55b2a627efc7bda62fc9fd458 (diff) | |
refactor: improve UI for small screens
Diffstat (limited to 'src/components/ContentHeader.module.css')
| -rw-r--r-- | src/components/ContentHeader.module.css | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/ContentHeader.module.css b/src/components/ContentHeader.module.css index 54e4c99..0768fbb 100644 --- a/src/components/ContentHeader.module.css +++ b/src/components/ContentHeader.module.css @@ -5,7 +5,12 @@ } .h1 { - padding: 0 40px; + padding: 0 15px; + font-size: 1.7em; + @media (--breakpoint-not-small) { + padding: 0 40px; + font-size: 2em; + } text-align: left; margin: 0; } |
