Skip to content

Commit 21daaa4

Browse files
committed
Fixed the tab component styles and also the 2 auth page templates heights
1 parent 5179ed1 commit 21daaa4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/components/Tab.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const Tab = ({ previewContent, codeSnippet, label }) => {
2323

2424
return (
2525
<>
26-
<div className='flex justify-between gap-2 items-end'>
26+
<div className='flex md:flex-row flex-col md:justify-between md:items-end items-start justify-start gap-5'>
2727
<h2 className='md:text-[1.5rem] text-[1.2rem] leading-none font-medium'>{label}</h2>
2828
<div className='space-x-2 flex'>
2929
<div className='inline-flex p-1.5 border border-neutral-400/40 gap-2 rounded-[0.4rem]'>

src/components/application-ui/templates/auth-pages/AuthPage01.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const codeSnippet = `<!-- This component requires the Tailwind CSS Forms
55
To use this plugin, install it via npm by running 'npm install @tailwindcss/forms'.
66
Then, include the plugin in your Tailwind CSS configuration file (tailwind.config.js) by adding 'require('@tailwindcss/forms')' to the plugins array. -->
77
8-
<section class="flex h-screen items-center justify-center">
8+
<section class="flex lg:h-screen h-auto items-center justify-center">
99
<form class="flex w-full max-w-md flex-col items-center justify-center rounded-lg p-10 shadow-xl">
1010
<div class="w-full space-y-8">
1111
<div class="flex flex-col items-center gap-5">
@@ -63,7 +63,7 @@ Then, include the plugin in your Tailwind CSS configuration file (tailwind.confi
6363
const AuthPage01 = () => {
6464
return (
6565
<div className='w-full h-auto p-2'>
66-
<section className="flex h-screen items-center justify-center">
66+
<section className="flex lg:h-screen h-auto items-center justify-center">
6767
<form className="flex w-full max-w-md flex-col items-center justify-center rounded-lg p-10 shadow-xl">
6868
<div className="w-full space-y-8">
6969
<div className="flex flex-col items-center gap-5">

src/components/application-ui/templates/auth-pages/AuthPage03.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Then, include the plugin in your Tailwind CSS configuration file (tailwind.confi
1212
<span class="text-sm text-zinc-300">fmUI is a comprehensive collection of free Tailwind CSS components and templates for your projects. With diverse components and sample pages, you can develop websites, web apps, and more. Explore our selection to enhance your development process with ease and flexibility.</span>
1313
</div>
1414
</aside>
15-
<main class="flex h-screen items-center justify-center">
16-
<form class="flex w-full max-w-md flex-col items-center justify-center px-7">
15+
<main class="flex lg:h-screen h-auto items-center justify-center">
16+
<form class="flex w-full max-w-md flex-col items-center justify-center px-7 py-9">
1717
<div class="w-full space-y-8">
1818
<div class="flex flex-col items-center gap-9">
1919
<img src="https://github.com/fwedwicc/fmUI/blob/main/src/assets/fmUI-logo.png?raw=true" alt="Your Logo" class="h-auto w-20" />
@@ -75,8 +75,8 @@ const AuthPage03 = () => {
7575
</span>
7676
</div>
7777
</aside>
78-
<main className="flex h-screen items-center justify-center">
79-
<form className="flex w-full max-w-md flex-col items-center justify-center px-7">
78+
<main className="flex lg:h-screen h-auto items-center justify-center">
79+
<form className="flex w-full max-w-md flex-col items-center justify-center px-7 py-9">
8080
<div className="w-full space-y-8">
8181
<div className="flex flex-col items-center gap-9">
8282
<img

0 commit comments

Comments
 (0)