Skip to content

Commit b144811

Browse files
committed
Shashank Fixed extra space in profile page
1 parent f341133 commit b144811

2 files changed

Lines changed: 13 additions & 9 deletions

File tree

src/components/UserProfile/BasicInformationTab/BasicInformationTab.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,16 @@
1919
display: inline-block;
2020
}
2121

22-
.basic-info-tab-desktop {
23-
margin-left: 16px;
22+
.basic-info-tab-desktop .custom-row {
23+
margin-left: 0 !important;
24+
margin-right: 0 !important;
2425
}
2526

27+
28+
29+
30+
31+
2632
@media (max-width: 1024px) {
2733
.basic-info-tab-desktop {
2834
display: none;

src/components/UserProfile/BasicInformationTab/BasicInformationTab.jsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ const BasicInformationTab = props => {
611611
</Col>
612612
{desktopDisplay ? (
613613
<Col md="1">
614-
<div style={{ marginTop: topMargin, marginLeft: '-20px' }}>
614+
<div style={{ marginTop: topMargin, }}>
615615
<EditableInfoModal
616616
role={role}
617617
areaName={'roleInfo'}
@@ -728,7 +728,6 @@ const BasicInformationTab = props => {
728728
display: 'flex',
729729
alignItems: 'center', // Ensures vertical alignment of the label and button
730730
justifyContent: 'space-between', // Adds spacing between label and button
731-
paddingLeft: '15px',
732731
}}
733732
>
734733
<Col
@@ -806,7 +805,6 @@ const BasicInformationTab = props => {
806805
display: 'flex',
807806
alignItems: 'center', // Ensures vertical alignment of all items
808807
justifyContent: 'space-between', // Space between the columns
809-
paddingLeft: '15px',
810808
}}
811809
>
812810
<Col
@@ -910,8 +908,8 @@ const BasicInformationTab = props => {
910908
{videoCallPreferenceComponent}
911909
<Col md="1" lg="1"></Col>
912910
</Row>
913-
<Row>{roleComponent}</Row>
914-
<Row>
911+
<Row style={{ marginBottom: '10px' }}>{roleComponent}</Row>
912+
<Row style={{ marginBottom: '10px' }}>
915913
{locationComponent}
916914
<Col md="1"></Col>
917915
</Row>
@@ -920,8 +918,8 @@ const BasicInformationTab = props => {
920918
<Col md="1"></Col>
921919
</Row>
922920
<Row>{timeZoneDifferenceComponent}</Row>
923-
<Row style={{ marginBottom: '10px' }}>{statusComponent}</Row>
924-
<Row style={{ marginBottom: '10px' }}>{endDateComponent}</Row>
921+
<Row className='custom-row' style={{ marginBottom: '10px' }}>{statusComponent}</Row>
922+
<Row className='custom-row' style={{ marginBottom: '10px' }}>{endDateComponent}</Row>
925923
</>
926924
) : (
927925
<>

0 commit comments

Comments
 (0)