Skip to content

Commit

Permalink
feat: make long resource descriptions scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
jxhnx committed Nov 9, 2024
1 parent 130b51a commit 119400a
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions src/app/components/marketplace/marketplace.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
font-weight: 700;
}

.resource-description {
background-color: white;
}

mat-card-title {
font-weight: bold;
}
Expand Down Expand Up @@ -66,3 +62,19 @@ mat-divider {
.carousel-counter {
font-weight: bold;
}

.resource-description {
background-color: white;
max-height: 300px;
overflow-y: auto;
padding-right: 5px;
}

.resource-description::-webkit-scrollbar {
width: 6px;
}

.resource-description::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.3);
border-radius: 3px;
}

0 comments on commit 119400a

Please sign in to comment.