Skip to content

Commit 817a88e

Browse files
Merge pull request #3475 from OneCommunityGlobal/rishwa_fix_header_layout
Rishwa fix header layout
2 parents 9225b83 + e826e35 commit 817a88e

3 files changed

Lines changed: 31 additions & 9 deletions

File tree

src/App.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ button {
116116

117117
/* .bg-space-cadet:hover{
118118
background-color: #1C2541 !important;
119-
color:black;
119+
color:black;
120120
} */
121121

122122
.bg-yinmn-blue {
@@ -261,3 +261,10 @@ input[type='checkbox']:not([disabled]):hover {
261261
.pdrl-1 {
262262
padding: 0 1em !important;
263263
}
264+
.user-card-container {
265+
display: flex;
266+
flex-wrap: wrap;
267+
justify-content: center;
268+
gap: 24px;
269+
padding: 20px;
270+
}

src/components/Header/Header.css

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,21 @@
3030
}
3131

3232
.navbar {
33-
z-index: 100;
33+
display: flex;
34+
flex-wrap: nowrap;
35+
justify-content: space-between;
36+
align-items: center;
37+
width: 100%;
3438
white-space: nowrap;
3539
}
3640

3741
.timer-message-section {
3842
display: flex;
3943
align-items: center;
40-
justify-content: space-between;
41-
width: 100%;
44+
justify-content: flex-start;
45+
flex-wrap: nowrap;
4246
gap: 1rem;
47+
white-space: nowrap;
4348
}
4449

4550
.redBackGroupHeader {
@@ -65,7 +70,10 @@
6570

6671
.nav-links {
6772
display: flex;
73+
flex-direction: row;
6874
align-items: center;
75+
flex-wrap: nowrap;
76+
gap: 1rem;
6977
}
7078

7179
.dropdown-item-hover:hover {
@@ -110,4 +118,12 @@
110118
.responsive-spacing {
111119
margin-right: 5px;
112120
}
113-
}
121+
}
122+
.header-margin{
123+
height : 20px;
124+
background-color: #1B2A41 ;
125+
}
126+
.header-margin-light{
127+
height : 20px;
128+
background-color: #fff;
129+
}

src/routes.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ import EPProtectedRoute from './components/common/EPDashboard/EPProtectedRoute';
8888
import EPLogin from './components/EductionPortal/Login';
8989
import EPDashboard from './components/EductionPortal';
9090

91-
92-
93-
9491
// eslint-disable-next-line import/order, import/no-unresolved
9592
import LogTools from './components/BMDashboard/LogTools/LogTools';
9693
import EquipmentUpdate from './components/BMDashboard/Tools/EquipmentUpdate';
@@ -456,6 +453,7 @@ export default (
456453
<ProtectedRoute path="/updatepassword/:userId" component={UpdatePassword} />
457454
<Route path="/Logout" component={Logout} />
458455
<Route path="/forcePasswordUpdate/:userId" component={ForcePasswordUpdate} />
456+
459457
<ProtectedRoute path="/hgnform" exact component={Page1} />
460458
<ProtectedRoute path="/hgnform/page2" exact component={Page2} />
461459
<ProtectedRoute path="/hgnform/page3" exact component={Page3} />
@@ -470,9 +468,10 @@ export default (
470468
<ProtectedRoute path="/tsaformpage6" exact component={TSAFormPage6} />
471469
<ProtectedRoute path="/tsaformpage7" exact component={TSAFormPage7} />
472470
<ProtectedRoute path="/tsaformpage8" exact component={TSAFormPage8} />
471+
473472
<ProtectedRoute path="/" exact component={Dashboard} />
474473
<Route path="*" component={NotFoundPage} />
475474
</Switch>
476475
</>
477476
</Switch>
478-
)
477+
)

0 commit comments

Comments
 (0)