Commit

Tab bars on pull requests, search and profiles scroll without showing a scrollbar

syntaqxcommitted Parent91a7e0fBrowse files
3 files+3−30/3 viewed
+1−1
677677 </p>
678678 )}
679679
680− <nav className="mt-6 flex items-end gap-1 overflow-x-auto border-b border-line">
680+ <nav className="mt-6 flex items-end gap-1 overflow-x-auto overflow-y-hidden border-b border-line [scrollbar-width:none] [&::-webkit-scrollbar]:hidden">
681681 <TabLink to={here} active={tab === "conversation"}>
682682 <MessageSquare size={15} />
683683 Conversation
+1−1
166166 )}
167167
168168 {q && (
169− <nav aria-label="Kinds of results" className="mt-6 flex gap-1 overflow-x-auto border-b border-line">
169+ <nav aria-label="Kinds of results" className="mt-6 flex gap-1 overflow-x-auto overflow-y-hidden border-b border-line [scrollbar-width:none] [&::-webkit-scrollbar]:hidden">
170170 {SEARCH_TYPES.map((each) => (
171171 <Link
172172 key={each}
+1−1
264264 </Link>
265265 );
266266 return (
267− <nav aria-label="Profile" className="flex gap-1 overflow-x-auto border-b border-line">
267+ <nav aria-label="Profile" className="flex gap-1 overflow-x-auto overflow-y-hidden border-b border-line [scrollbar-width:none] [&::-webkit-scrollbar]:hidden">
268268 {item("overview", "Overview", <LayoutGrid size={15} />)}
269269 {item("pulls", "Pull requests", <GitPullRequest size={15} />, counts.pulls)}
270270 {item("issues", "Issues", <CircleDot size={15} />, counts.issues)}