Make genre tags horizontally scrollable

This commit is contained in:
adityachandelgit
2025-04-16 00:38:17 -06:00
committed by Aditya Chandel
parent 3acb92bf90
commit 6d1384aac4
2 changed files with 10 additions and 1 deletions
@@ -23,7 +23,7 @@
<p class="font-semibold">({{ metadata.reviewCount || 0 }} Reviews)</p>
</div>
<div class="flex gap-2 pt-4 overflow-x-auto whitespace-nowrap">
<div class="flex gap-2 pt-4 overflow-x-auto scrollbar-hide">
<p-tag *ngFor="let category of metadata.categories" [value]="category" class="shrink-0"></p-tag>
</div>
@@ -14,3 +14,12 @@
::ng-deep .ql-container {
font-size: 14px !important;
}
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
.scrollbar-hide {
scrollbar-width: none;
-ms-overflow-style: none; /* for IE 10+ */
}