Make genre tags horizontally scrollable
This commit is contained in:
committed by
Aditya Chandel
parent
3acb92bf90
commit
6d1384aac4
+1
-1
@@ -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>
|
||||
|
||||
|
||||
+9
@@ -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+ */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user