From f7440f646df8c5a1b9c5fcd9cd97fe92e8d78029 Mon Sep 17 00:00:00 2001 From: KhushiChauhan8 Date: Sun, 27 Oct 2024 18:12:56 -0700 Subject: [PATCH] Fix UI Overlap Issue in Registration Section & Button Enhancement --- src/pages/Registration.jsx | 12 ++++----- tailwind.config.js | 50 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 6 deletions(-) diff --git a/src/pages/Registration.jsx b/src/pages/Registration.jsx index 936aea83..b9e420a4 100644 --- a/src/pages/Registration.jsx +++ b/src/pages/Registration.jsx @@ -89,10 +89,10 @@ export default function Registration() { return (
-
+
-
-

+
+

Best way to manage your rent

@@ -100,7 +100,7 @@ export default function Registration() { Create a new account to access all the features of our website

- +

@@ -231,7 +231,7 @@ export default function Registration() { {/* Submit Button */} @@ -316,4 +316,4 @@ const Input = ({ title, register, ...props }) => { />
); -}; +}; \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js index 9f554967..35460274 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,3 +1,50 @@ +// /** @type {import('tailwindcss').Config} */ +// export default { +// content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"], +// theme: { +// extend: { +// transitionProperty: { +// 'colors': 'background-color, border-color, color', +// 'shadow': 'box-shadow', +// }, +// transitionTimingFunction: { +// 'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)', +// }, +// }, +// screens: { +// sm: "480px", +// md: "768px", +// lg: "976px", +// xl: "1440px", +// }, +// colors: { +// primaryGreen: "#1ABC9C", +// customRed: "#CD4347", +// green: "#1ABC93", +// "green-dark": "#047558", +// textBlack: "#312F2F", +// textWhite: "#F8F8F8", +// black: "#000000", +// "gray-dark": "#273444", +// gray: "#8492a6", +// "gray-light": "#d3dce6", +// "light-blue": "#e8f8f4", +// }, +// fontFamily: { +// sans: ["Graphik", "sans-serif"], +// serif: ["Merriweather", "serif"], +// monsterrat: ["Montserrat", "sans-serif"], +// }, +// boxShadow: { +// widget: '3px 3px #b9c3c1', +// 'widget-hover': '5px 5px #b9c3c1', +// }, +// }, +// plugins: [], +// }; + + + /** @type {import('tailwindcss').Config} */ export default { content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"], @@ -10,6 +57,9 @@ export default { transitionTimingFunction: { 'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)', }, + colors: { + transparent: 'transparent', // कस्टम नाम के साथ transparent रंग जोड़ना (वैकल्पिक) + }, }, screens: { sm: "480px",