Skip to content

Commit

Permalink
Few UI bug Fixing. (PalisadoesFoundation#1194)
Browse files Browse the repository at this point in the history
* UI changes in user update page

* Fixed some UI bugs.

* Fix linting checks
  • Loading branch information
git-init-priyanshu authored Dec 16, 2023
1 parent 253f95d commit 0d50c5d
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 45 deletions.
1 change: 0 additions & 1 deletion src/screens/EventDashboard/EventDashboard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
height: 100%;
}
.sidebar:after {
content: '';
background-color: #f7f7f7;
position: absolute;
width: 2px;
Expand Down
3 changes: 1 addition & 2 deletions src/screens/LoginPage/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ function loginPage(): JSX.Element {
<div className="position-relative">
<Form.Control
type="email"
className="mb-3"
placeholder={t('enterEmail')}
required
value={formState.email}
Expand All @@ -268,7 +267,7 @@ function loginPage(): JSX.Element {
<EmailOutlinedIcon />
</Button>
</div>
<Form.Label>{t('password')}</Form.Label>
<Form.Label className="mt-3">{t('password')}</Form.Label>
<div className="position-relative">
<Form.Control
type={showPassword ? 'text' : 'password'}
Expand Down
1 change: 0 additions & 1 deletion src/screens/OrgContribution/OrgContribution.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
height: 100%;
}
.sidebar:after {
content: '';
background-color: #f7f7f7;
position: absolute;
width: 2px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
}

.sidebar:after {
content: '';
background-color: #f7f7f7;
position: absolute;
width: 2px;
Expand Down
4 changes: 3 additions & 1 deletion src/screens/OrganizationPeople/OrganizationPeople.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
height: 100%;
}
.sidebar:after {
content: '';
background-color: #f7f7f7;
position: absolute;
width: 2px;
Expand Down Expand Up @@ -241,6 +240,9 @@
animation: load8 1.1s infinite linear;
}
.radio_buttons {
display: flex;
flex-direction: column;
gap: 0.5rem;
color: #707070;
font-weight: 600;
font-size: 14px;
Expand Down
84 changes: 45 additions & 39 deletions src/screens/OrganizationPeople/OrganizationPeople.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,45 +185,51 @@ function organizationPeople(): JSX.Element {
className={styles.radio_buttons}
data-testid="usertypelist"
>
<Form.Check
type="radio"
inline
id="userslist"
value="userslist"
name="displaylist"
data-testid="users"
defaultChecked={state == 2 ? true : false}
onClick={(): void => {
setState(2);
}}
/>
<label htmlFor="userslist">{t('users')}</label>
<Form.Check
type="radio"
inline
id="memberslist"
value="memberslist"
name="displaylist"
data-testid="members"
defaultChecked={state == 0 ? true : false}
onClick={(): void => {
setState(0);
}}
/>
<label htmlFor="memberslist">{t('members')}</label>
<Form.Check
type="radio"
inline
id="adminslist"
value="adminslist"
name="displaylist"
data-testid="admins"
defaultChecked={state == 1 ? true : false}
onClick={(): void => {
setState(1);
}}
/>
<label htmlFor="adminslist">{t('admins')}</label>
<div>
<Form.Check
type="radio"
inline
id="userslist"
value="userslist"
name="displaylist"
data-testid="users"
defaultChecked={state == 2 ? true : false}
onClick={(): void => {
setState(2);
}}
/>
<label htmlFor="userslist">{t('users')}</label>
</div>
<div>
<Form.Check
type="radio"
inline
id="memberslist"
value="memberslist"
name="displaylist"
data-testid="members"
defaultChecked={state == 0 ? true : false}
onClick={(): void => {
setState(0);
}}
/>
<label htmlFor="memberslist">{t('members')}</label>
</div>
<div>
<Form.Check
type="radio"
inline
id="adminslist"
value="adminslist"
name="displaylist"
data-testid="admins"
defaultChecked={state == 1 ? true : false}
onClick={(): void => {
setState(1);
}}
/>
<label htmlFor="adminslist">{t('admins')}</label>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 0d50c5d

Please sign in to comment.