From f2ee1b630bc7a5078ca9a22898042693e03f321b Mon Sep 17 00:00:00 2001 From: PriyadharshiniNagarathinam Date: Sat, 6 Jan 2024 15:09:13 +0530 Subject: [PATCH] align buttons of edit event --- package-lock.json | 3 + .../EventListCard/EventListCard.module.css | 16 +++- .../EventListCard/EventListCard.tsx | 90 ++++++++++--------- src/screens/LoginPage/LoginPage.tsx | 10 ++- .../UserLoginPage/UserLoginPage.tsx | 23 +++-- 5 files changed, 86 insertions(+), 56 deletions(-) diff --git a/package-lock.json b/package-lock.json index 24265fce6d..fae5984b43 100644 --- a/package-lock.json +++ b/package-lock.json @@ -95,6 +95,9 @@ "jest-preview": "^0.3.1", "jquery": "^3.2.1", "postcss-modules": "^6.0.0" + }, + "engines": { + "node": ">=20.x" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/src/components/EventListCard/EventListCard.module.css b/src/components/EventListCard/EventListCard.module.css index 09f4b5fcdd..8921f14289 100644 --- a/src/components/EventListCard/EventListCard.module.css +++ b/src/components/EventListCard/EventListCard.module.css @@ -88,13 +88,18 @@ padding-right: 5px; padding-left: 5px; } -.checkboxdiv > label { +.checkboxdiv > div label { margin-right: 50px; } .checkboxdiv > label > input { margin-left: 10px; } - +.dispflex { + display: flex; + justify-content: space-between; + margin-bottom: 5px; + margin-right: 5px; +} .dispflex > input { width: 20%; border: none; @@ -103,9 +108,14 @@ } .checkboxdiv { display: flex; + flex-direction: column; } -.checkboxdiv > div { +/* .checkboxdiv > div { width: 50%; +} */ +.checkboxContainer { + display: flex; + justify-content: space-between; } .preview { diff --git a/src/components/EventListCard/EventListCard.tsx b/src/components/EventListCard/EventListCard.tsx index 9e663b3b3d..f316cc344b 100644 --- a/src/components/EventListCard/EventListCard.tsx +++ b/src/components/EventListCard/EventListCard.tsx @@ -376,50 +376,54 @@ function eventListCard(props: InterfaceEventListCardProps): JSX.Element { )} -
-
- - setAllDayChecked(!alldaychecked)} - /> -
-
- - setRecurringChecked(!recurringchecked)} - /> -
-
-
-
- - setPublicChecked(!publicchecked)} - /> +
+
+
+ + setAllDayChecked(!alldaychecked)} + /> +
+
+ + + setRecurringChecked(!recurringchecked) + } + /> +
-
- - - setRegistrableChecked(!registrablechecked) - } - /> +
+
+ + setPublicChecked(!publicchecked)} + /> +
+
+ + + setRegistrableChecked(!registrablechecked) + } + /> +
diff --git a/src/screens/LoginPage/LoginPage.tsx b/src/screens/LoginPage/LoginPage.tsx index 44afdbacb9..67f5e0301e 100644 --- a/src/screens/LoginPage/LoginPage.tsx +++ b/src/screens/LoginPage/LoginPage.tsx @@ -233,8 +233,14 @@ function loginPage(): JSX.Element {
- -

{t('fromPalisadoes')}

+ + +

{t('fromPalisadoes')}

+
diff --git a/src/screens/UserPortal/UserLoginPage/UserLoginPage.tsx b/src/screens/UserPortal/UserLoginPage/UserLoginPage.tsx index 559d088a9e..e8aa947d7c 100644 --- a/src/screens/UserPortal/UserLoginPage/UserLoginPage.tsx +++ b/src/screens/UserPortal/UserLoginPage/UserLoginPage.tsx @@ -29,14 +29,21 @@ export default function userLoginPage(): JSX.Element { return (
- Palisadoes Branding -
-

{t('fromPalisadoes')}

-
+ + Palisadoes Branding + +
+

{t('fromPalisadoes')}

+
+