Skip to content
This repository was archived by the owner on Sep 11, 2021. It is now read-only.

Commit 4069850

Browse files
committed
Improve responsiveness
1 parent 7e9b981 commit 4069850

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

public/index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!doctype html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="utf-8">
56
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
@@ -8,12 +9,13 @@
89
<link rel="stylesheet" href="/build/tailwind.css">
910
<title>Welcome to Tailwind!</title>
1011
</head>
12+
1113
<body class="antialiased text-gray-900">
1214
<div class="bg-gray-700 min-h-screen flex items-center justify-center">
1315
<div class="max-w-2xl w-full">
1416
<div class="bg-white rounded p-8 shadow-lg">
15-
<div class="flex -mx-6">
16-
<div class="w-1/2 px-6">
17+
<div class="flex flex-wrap -mx-6">
18+
<div class="w-full md:w-1/2 px-6 mb-6 md:mb-0">
1719
<label class="block">
1820
<span class="text-gray-700">Input</span>
1921
<input type="email" class="mt-1 block w-full form-input" value="john@example.com">
@@ -40,7 +42,7 @@
4042
</select>
4143
</label>
4244
</div>
43-
<div class="w-1/2 px-6">
45+
<div class="w-full md:w-1/2 px-6">
4446
<div class="block">
4547
<span class="text-gray-700">Checkboxes</span>
4648
<div class="mt-2">
@@ -102,4 +104,5 @@
102104
</div>
103105
</div>
104106
</body>
107+
105108
</html>

0 commit comments

Comments
 (0)