Skip to content

Commit 85c4d05

Browse files
committed
媒体查询支持iPhone 6plus
1 parent 49451e4 commit 85c4d05

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ bower_components/
55
spm_modules/
66
projectFilesBackup/
77
Gruntfile.js
8-
npm-debug.log
8+
npm-debug.log
9+
bower.json

bower.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qst",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"homepage": "https://github.com/xjchenhao/qst",
55
"authors": [
66
"xjchenhao <[email protected]>"
@@ -19,6 +19,7 @@
1919
"bower_components",
2020
"test",
2121
"tests",
22+
"bower.json",
2223
"src/*.map",
2324
"src/*.css"
2425
]

src/adaptive.styl

+10-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,16 @@ $viewsize() {
6060
max-width: 400px;
6161
}
6262
}
63-
@media only screen and (max-width: 470px) and (min-width: 400px) {
63+
@media only screen and (max-width: 415px) and (min-width: 400px) {
64+
html {
65+
font-size: 11.5px
66+
}
67+
68+
.viewport {
69+
max-width: 415px
70+
}
71+
}
72+
@media only screen and (max-width: 470px) and (min-width: 415px) {
6473
html {
6574
font-size: 11.11111px
6675
}

0 commit comments

Comments
 (0)