Skip to content

Commit

Permalink
fix-#432: Bug Fixed (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnaacharyaa authored Jun 28, 2024
2 parents 12c559f + 460f4a5 commit db4b416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions frontend/src/pages/signin-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import ThemeToggle from '@/components/theme-toggle-button';
import { useState } from 'react';
import EyeIcon from '@/assets/svg/eye.svg';
import EyeOffIcon from '@/assets/svg/eye-off.svg';

function signin() {
const navigate = useNavigate();
const [passwordVisible, setPasswordVisible] = useState(false);
Expand Down Expand Up @@ -73,7 +72,7 @@ function signin() {
<div className="flex-grow cursor-default bg-white py-4 dark:bg-dark-card">
<div className="m-4 mb-4 flex justify-center">
<div className="flex w-full items-center justify-center">
<h2 className="w-3/4 pl-48 text-center text-lg font-bold text-black dark:text-dark-primary sm:text-xl">
<h2 className="text-center text-lg font-bold text-black dark:text-dark-primary w-2/4 pl-2 sm:text-xl md:w-3/4 md:pl-48">
Sign in to WanderLust
</h2>
<div className="flex items-center justify-end px-4 sm:px-20">
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/pages/signup-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import ThemeToggle from '@/components/theme-toggle-button';
import { useState } from 'react';
import EyeIcon from '@/assets/svg/eye.svg';
import EyeOffIcon from '@/assets/svg/eye-off.svg';

function Signup() {
const navigate = useNavigate();
const {
Expand Down Expand Up @@ -68,7 +67,7 @@ function Signup() {
<div className="flex-grow cursor-default bg-white py-4 dark:bg-dark-card">
<div className="m-4 mb-4 flex justify-center">
<div className="flex w-full items-center justify-center">
<h2 className="w-3/4 pl-48 text-center text-lg font-bold text-black dark:text-dark-primary sm:text-xl">
<h2 className="text-center text-lg font-bold text-black dark:text-dark-primary w-2/4 pl-2 sm:text-xl md:w-3/4 md:pl-48">
Sign up to WanderLust
</h2>
<div className="flex items-center justify-end px-4 sm:px-20">
Expand Down

0 comments on commit db4b416

Please sign in to comment.