Skip to content

Commit 243c9d7

Browse files
committed
add viewport
1 parent da1dd54 commit 243c9d7

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en" class = "h-full bg-gray-50">
33
<head>
44
<title></title>
5-
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<script defer src="https://unpkg.com/[email protected]/dist/cdn.min.js"></script>
77

88
<link rel="shortcut icon" href="favicon.svg" />
@@ -208,7 +208,7 @@ <h3>Settings</h3>
208208

209209

210210

211-
<div x-show="showLogin" class="min-h-full flex flex-col justify-center py-12 sm:px-6 lg:px-8">
211+
<div x-show="showLogin" class="min-h-full flex flex-col justify-center py-2 lg:py-12 sm:px-6 lg:px-8">
212212

213213
<div class="mt-8 sm:mx-auto sm:w-full lg:max-w-lg">
214214
<div class="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">

tailwind-dist.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,11 @@ select {
13531353
padding-right: 0.5rem;
13541354
}
13551355

1356+
.py-5 {
1357+
padding-top: 1.25rem;
1358+
padding-bottom: 1.25rem;
1359+
}
1360+
13561361
.pt-1 {
13571362
padding-top: 0.25rem;
13581363
}
@@ -1882,6 +1887,11 @@ select {
18821887
padding-right: 2.5rem;
18831888
}
18841889

1890+
.sm\:px-20 {
1891+
padding-left: 5rem;
1892+
padding-right: 5rem;
1893+
}
1894+
18851895
.sm\:text-sm {
18861896
font-size: 0.875rem;
18871897
line-height: 1.25rem;
@@ -2055,4 +2065,9 @@ select {
20552065
padding-left: 0px;
20562066
padding-right: 0px;
20572067
}
2068+
2069+
.lg\:py-12 {
2070+
padding-top: 3rem;
2071+
padding-bottom: 3rem;
2072+
}
20582073
}

0 commit comments

Comments
 (0)