Skip to content

Commit 5e76e2a

Browse files
committed
💄 mobile adjusts
1 parent f7b7858 commit 5e76e2a

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

‎public/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
6+
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
77
<meta name=theme-color content=#292d3e>
88
<meta name=apple-mobile-web-app-capable content=yes>
99
<meta name=apple-mobile-web-app-status-bar-style content=#292d3e>

‎src/App.vue

+14-3
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,33 @@ export default {
4747
<style lang="scss" scoped>
4848
#app {
4949
height: 100%;
50+
width: 100%;
5051
display: grid;
5152
grid-template-rows: 115px 1fr;
5253
}
5354
#main-content {
54-
min-height: 100%;
55+
height: 100%;
5556
width: 100%;
5657
}
5758
.inputs {
5859
display: grid;
5960
height: 100%;
60-
grid-template-rows: 2fr 1fr;
61+
width: 100%;
62+
grid-template-rows: 1fr;
6163
.inputs-footer {
6264
display: grid;
6365
height: 100%;
6466
grid-column-gap: 0.5em;
65-
grid-template-columns: 2fr 1fr;
67+
grid-template-columns: 1fr;
68+
}
69+
}
70+
71+
@media (min-width: 768px) {
72+
.inputs {
73+
grid-template-rows: 2fr 1fr;
74+
.inputs-footer {
75+
grid-template-columns: 2fr 1fr;
76+
}
6677
}
6778
}
6879
</style>

‎src/assets/scss/main.scss

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ html, body {
1313
}
1414

1515
.CodeMirror {
16+
width: 100%;
1617
font-size: 1.6em;
1718
line-height: 1.5em;
1819
}

0 commit comments

Comments
 (0)