File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
components/course/components Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1616.cm-pb-footer {
1717 padding-bottom : calc (3rem + env (safe-area-inset-bottom));
1818}
19+
20+ .scrollbar-hide ::-webkit-scrollbar {
21+ display : none;
22+ }
23+ .scrollbar-hide {
24+ -ms-overflow-style : none;
25+ scrollbar-width : none;
26+ }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export default function TagFilter<T extends string>({
1111} : Props < T > ) {
1212 const tags = Array . from ( keyNameMap . keys ( ) ) ;
1313 return (
14- < div className = "flex flex-wrap gap-2 " >
14+ < div className = "scrollbar-hide flex justify-start gap-1 overflow-x-auto whitespace-nowrap " >
1515 { tags . map ( ( tag ) => (
1616 < div key = { tag } >
1717 < input
@@ -23,7 +23,7 @@ export default function TagFilter<T extends string>({
2323 />
2424 < label
2525 htmlFor = { tag }
26- className = "cursor-pointer rounded-full bg-gray-200 px-3 py-1 text-gray-800 transition-colors duration-200 peer-checked:bg-primary peer-checked:text-white"
26+ className = "badge badge-lg cursor-pointer bg-gray-200 text-gray-800 transition-colors duration-200 peer-checked:bg-primary peer-checked:text-white"
2727 >
2828 { keyNameMap . get ( tag ) }
2929 </ label >
You can’t perform that action at this time.
0 commit comments