added changes layout

This commit is contained in:
markaguilar committed 2020-09-26 18:57:26 +08:00
1 parent f412984e5a
commit 74af9f3c06
3 files changed
+18 -13

No files matched your search

+14 -11
View File
@@ -59,12 +59,12 @@
<input type="text" class="w-full h-10 pl-3 inline-flex lg:h-8 focus:outline-none focus:border-blue-300 focus:shadow-outline-green" placeholder="Search Location and other keywords"> <input type="text" class="w-full h-10 pl-3 inline-flex lg:h-8 focus:outline-none focus:border-blue-300 focus:shadow-outline-green" placeholder="Search Location and other keywords">
</div> </div>
<div class="justify-center space-x-1 pt-1 hidden md:inline-flex lg:inline-flex"> <div class="justify-center space-x-1 pt-1 hidden md:inline-flex lg:inline-flex">
<p class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</p> <button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
<p class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</p> <button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
<p class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</p> <button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
<p class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</p> <button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
<p class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</p> <button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
<p class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</p> <button class="border w-auto text-center text-white text-xs px-2 h-6">suggestion</button>
</div> </div>
</div> </div>
<div class="lg:mr-6"> <div class="lg:mr-6">
@@ -78,18 +78,19 @@
</div> </div>
</header> </header>
<main> <main>
<div class="z-10 py-6 xs:mx-0 sm:mx-12 md:mx-24 lg:mx-32 xl:mx-60"> <div class="flex justify-center">
<div class="z-10 w-2/5 xl:w-2/4">
<nav class="ml-5 md:flex items-center space-x-1 hidden"> <nav class="ml-5 md:flex items-center space-x-1 hidden">
<div class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-600 focus:text-gray-900"> <div class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-300 focus:text-gray-900">
<button>RELEVANCE</button> <button>RELEVANCE</button>
</div> </div>
<div class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-600 focus:text-gray-900"> <div class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-300 focus:text-gray-900">
<button>LATEST</button> <button>LATEST</button>
</div> </div>
<div class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-600 focus:text-gray-900"> <div class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-300 focus:text-gray-900">
<button>PRICE-LOW TO HIGH</button> <button>PRICE-LOW TO HIGH</button>
</div> </div>
<div class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-600 focus:text-gray-900"> <div class="block px-4 py-2 text-md leading-5 text-gray-900 hover:bg-green-300 hover:text-gray-900 focus:outline-none focus:bg-green-300 focus:text-gray-900">
<button>PRICE-HIGH TO LOW</button> <button>PRICE-HIGH TO LOW</button>
</div> </div>
</nav> </nav>
@@ -486,6 +487,8 @@
</div> </div>
<!-- /End content --> <!-- /End content -->
</div> </div>
</div>
</main> </main>
</div> </div>
</body> </body>
+3 -1
View File
@@ -77,7 +77,8 @@
</div> </div>
</header> </header>
<main> <main>
<div class="py-6 xs:mx-0 sm:mx-12 md:mx-24 lg:mx-32 xl:mx-60"> <div class="flex justify-center">
<div class="w-2/4 lg">
<!-- list form --> <!-- list form -->
<div class="flex"> <div class="flex">
<!-- content --> <!-- content -->
@@ -292,6 +293,7 @@
</div> </div>
<!-- /End content --> <!-- /End content -->
</div> </div>
</div>
</main> </main>
</div> </div>
</body> </body>
+1 -1
View File
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="styles.css"> <link rel="stylesheet" href="styles.css">
</head> </head>
<body class=" font-body"> <body class="font-body">
<header class="sticky top-0 z-50 bg-indigo-700"> <header class="sticky top-0 z-50 bg-indigo-700">
<div class=" flex items-center pt-6 h-24 xs:mx-0 sm:mx-12 md:mx-24 lg:py-6 lg:mx-32 xl:mx-60"> <div class=" flex items-center pt-6 h-24 xs:mx-0 sm:mx-12 md:mx-24 lg:py-6 lg:mx-32 xl:mx-60">
<img class="ml-1 px-3 block md:hidden lg:hidden h-10 lg:h-8 w-auto" src="img/logo.svg" alt="" /> <img class="ml-1 px-3 block md:hidden lg:hidden h-10 lg:h-8 w-auto" src="img/logo.svg" alt="" />