質問編集履歴
2
修正
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
ページを小さくすると、ページにスペースができてしまう
|
|
7
7
|

|
|
8
8
|
|
|
9
|
+
|
|
9
10
|
```css
|
|
10
11
|
/*iphone 6・7・8 plus*/
|
|
11
12
|
@media screen and (min-width: 370px) and (max-width: 399px) {
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
|
24
25
|
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
|
25
26
|
<%= csrf_meta_tags %>
|
|
26
|
-
<meta name="viewport" content="width=devise-width,initial-scale=1.0,
|
|
27
|
+
<meta name="viewport" content="width=devise-width,initial-scale=1.0,user-scalable=no">
|
|
27
28
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"
|
|
28
29
|
integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/"
|
|
29
30
|
crossorigin="anonymous">
|
1
修正する
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
ページを小さくすると、ページにスペースができてしまう
|
|
7
7
|

|
|
8
8
|
|
|
9
|
-
```
|
|
9
|
+
```css
|
|
10
10
|
/*iphone 6・7・8 plus*/
|
|
11
11
|
@media screen and (min-width: 370px) and (max-width: 399px) {
|
|
12
12
|
.sp {
|
|
@@ -14,4 +14,26 @@
|
|
|
14
14
|
max-width: 375px;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
```view
|
|
20
|
+
<!DOCTYPE html>
|
|
21
|
+
<html>
|
|
22
|
+
<head>
|
|
23
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
|
24
|
+
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
|
25
|
+
<%= csrf_meta_tags %>
|
|
26
|
+
<meta name="viewport" content="width=devise-width,initial-scale=1.0, user-scalable=no">
|
|
27
|
+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"
|
|
28
|
+
integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/"
|
|
29
|
+
crossorigin="anonymous">
|
|
30
|
+
</head>
|
|
31
|
+
<body>
|
|
32
|
+
<div class="sp">
|
|
33
|
+
<header class="wa">
|
|
34
|
+
<div class="inner">
|
|
35
|
+
</div>
|
|
36
|
+
</header>
|
|
37
|
+
</div>
|
|
38
|
+
</body>
|
|
17
39
|
```
|