Skip to content

Commit dc70787

Browse files
authored
Merge pull request #463 from Srilakshmi-Kande/main
Fixed Header section for Mobile devices
2 parents 839f13a + e21b159 commit dc70787

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

landing.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,37 @@ body {
101101
font-size: 1.75rem;
102102
}
103103

104+
/* Header for mobile view */
105+
@media screen and (max-width:410px) {
106+
.nav-container {
107+
max-width: 375px;
108+
margin: 0 auto;
109+
gap: 0.3rem;
110+
padding: 1rem 10px;
111+
display: flex;
112+
justify-content: space-between;
113+
align-items: center;
114+
flex-wrap: wrap;
115+
}
116+
.nav-brand {
117+
font-size: 1.2rem;
118+
}
119+
#logo {
120+
width: 65px;
121+
height: 65px;
122+
position: relative;
123+
left: 0;
124+
}
125+
.nav-brand i {
126+
margin-left: 0.5rem;
127+
font-size: 1.5rem;
128+
}
129+
.mobile-menu-toggle i{
130+
margin-right: 0.5rem;
131+
font-size: 1.5rem;
132+
}
133+
}
134+
104135
.nav-links {
105136
display: flex;
106137
align-items: center;

0 commit comments

Comments
 (0)