fix: responsive

This commit is contained in:
dhanush.s 2025-09-24 15:57:35 +05:30
parent 4083584195
commit 0899bb5be9
2 changed files with 14 additions and 14 deletions

View File

@ -46,13 +46,9 @@
<a href="#">Internships</a>
<a href="#">Jobs</a>
<a href="#">Competitions</a>
<a href="#">Mentorships</a>
<a href="#">Practice</a>
<a href="#">More ▾</a>
</nav>
<div class="buttons">
<button class="host">+ Host</button>
<button class="business">For Business</button>
<a href="/my/"><button class="business">Dashboard</button></a>
<button class="login" onclick="goToLogin()">Login</button>
</div>
</header>
@ -122,10 +118,6 @@
</div>
</div>
</div>
<div role="button" tabindex="0" class="knon_more"> Know How <un-icon _nghost-serverapp-c3674528818=""><img
style="--size: 18px;" src="https://cdn.Kodepilot.com/assets/icons/chevron_down.svg" height="18"
width="18" alt="chevron_down" class="ng-star-inserted"></un-icon>
</div>
</div>
</section>

View File

@ -190,9 +190,11 @@
border-radius: 50px;
}
.nameContainer {
.know-cards {
display: flex;
color: #717171;
flex-wrap: wrap;
gap: 16px;
justify-content: center;
}
.crd {
@ -203,9 +205,10 @@
border: 1px solid #ddd;
border-radius: 12px;
background: #fff;
max-width: 600px;
margin-left: 10px;
margin-right: 10px;
max-width: 352px;
margin: 0;
flex: 1 1 352px;
max-height: 100px;
}
.crd img {
@ -225,6 +228,9 @@
}
.crd p {
-webkit-line-clamp: 2;
/* show max 2 lines */
-webkit-box-orient: vertical;
font-size: 12px;
line-height: 140%;
color: #383838;
@ -617,6 +623,7 @@
}
.hover-slider {
display: none;
padding: 0 0 50px 0;
}
@ -826,6 +833,7 @@
}
.nav-button {
display: none;
width: 50px;
height: 50px;
font-size: 18px;