summaryrefslogtreecommitdiff
path: root/src/components/ContentHeader.module.css
diff options
context:
space:
mode:
authorHaishan <[email protected]>2019-11-17 17:31:59 +0800
committerHaishan <[email protected]>2019-11-17 17:31:59 +0800
commitc28ff93b67a3da5cbff0d2ffeddfc16fd1dd3438 (patch)
tree0c3d6fd0964ffcb00078e4fda52ecd03e39b4dce /src/components/ContentHeader.module.css
parent0df74757914123d55b2a627efc7bda62fc9fd458 (diff)
refactor: improve UI for small screens
Diffstat (limited to 'src/components/ContentHeader.module.css')
-rw-r--r--src/components/ContentHeader.module.css7
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;
}