Skip to content

Commit

Permalink
Fix: Discover card changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vellaiyan-Marimuthu committed Sep 20, 2024
1 parent 0ef5f84 commit 6cbef78
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions app/loading.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,9 @@
}

.discoverList__card__desc:nth-child(5) {
grid-column: span 1 / span 1;
grid-column: span 2 / span 2;
}

.discoverList__card__desc:nth-child(6) {
grid-column: span 1 / span 1;
}

.focusareas__list__mob {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion app/loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function Loading() {
))}
</div>
<div className={styles.discoverList__desc}>
{Array.from({ length: 6 })?.map((_, index) => (
{Array.from({ length: 5 })?.map((_, index) => (
<div key={index} className={styles.discoverList__card__desc}>
<div className={styles.discover__card__ques_line1}></div>
<div className={styles.discover__card__ques_line2}></div>
Expand Down
2 changes: 1 addition & 1 deletion components/page/home/discover/discover-husky-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const DiscoverHuskyCard = (props:any) => {
bottom: 0;
z-index: -1;
border-radius: 0 0 12px 0;
width: 50%;
// width: 50%;
}
.dh__pattern-2 {
Expand Down
4 changes: 2 additions & 2 deletions components/page/home/discover/discover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Discover = (props: any) => {
})}
</div>
<div className="discover__body__sec2 embla__slide">
{formattedDiscoverData.slice(3, 6).map((data) => {
{formattedDiscoverData.slice(3, 5).map((data) => {
return (
<div key={`section-two-discover-card-${data.uid}`} className="discover__body__sec2__child1">
{renderCard(data)}
Expand Down Expand Up @@ -187,7 +187,7 @@ const Discover = (props: any) => {
}
.discover__body__sec2__child1:nth-child(2) {
grid-column: span 1 / span 1;
grid-column: span 2 / span 2;
}
.discover__body__sec__child1,
Expand Down

0 comments on commit 6cbef78

Please sign in to comment.