Skip to content

Commit

Permalink
Merge pull request #754 from CyB3RTYp3/old-dev
Browse files Browse the repository at this point in the history
fix(LearningFest):Responsive issue fix
  • Loading branch information
AswinAsok authored Sep 6, 2023
2 parents b042ec9 + 70d12e0 commit 47387c2
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/Pages/KKEMLearningFest/KKEMLearningFest.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
display: flex;
flex-direction: column;
align-items: center;
overflow: hidden;
}

.kkemLearningFestFooter{
Expand Down
10 changes: 6 additions & 4 deletions src/Pages/KKEMLearningFest/components/Cards/Cards.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
src: url("../../font/pixelmix.ttf") format("truetype");
}

.carosel {
width: 100%;
display: grid;
place-content: center;
.carosel{
width: 100%;
display: grid;
place-content: center;
overflow: hidden;
}
.cardsConatiner {
padding: 1rem;
Expand Down Expand Up @@ -163,6 +164,7 @@
}
}


@media (width<620px) {
.cardsConatiner {
padding-bottom: 1rem;
Expand Down
24 changes: 24 additions & 0 deletions src/Pages/KKEMLearningFest/components/Journey/Journey.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
border-radius: 1rem;
box-shadow: 0 0 1rem rgba(0, 0, 0, .7);
padding: 1.2rem 2rem;
padding-bottom: 2rem;
margin: 4rem 0;
width: fit-content;
}
Expand Down Expand Up @@ -46,10 +47,33 @@
margin-top: -2rem;
}

@media (width<1100px) {

.kkemJourney {
padding: 1rem;
padding-bottom: 2rem;
margin: 4rem 2rem;
}

.kkemJourney h1 {
font-size: 1.2rem;
margin-bottom: 1rem;
}
.kkemJourneyCard img{
width: 12rem;
}

.kkemJourneyCard span {
margin-top: -1rem;
}

}

@media(width<=768px) {

.kkemJourney {
padding: 1rem;
padding-bottom: 2rem;
margin: 4rem 0;
}

Expand Down

0 comments on commit 47387c2

Please sign in to comment.