fixed scrollbar bug in profile
parent
3efc4e0fb7
commit
5f1f24635d
|
@ -39,8 +39,8 @@ export default function SettingsShell(props) {
|
|||
|
||||
return (
|
||||
<div className="max-w-6xl">
|
||||
<div className="min-w-full overflow-scroll sm:mx-auto -mx-4 min-h-16">
|
||||
<nav className="-mb-px flex space-x-8 px-4 sm:px-0 " aria-label="Tabs">
|
||||
<div className="sm:mx-auto -mx-4">
|
||||
<nav className="-mb-px flex space-x-2 sm:space-x-8 px-4 sm:px-0 " aria-label="Tabs">
|
||||
{tabs.map((tab) => (
|
||||
<Link key={tab.name} href={tab.href}>
|
||||
<a
|
||||
|
@ -54,7 +54,7 @@ export default function SettingsShell(props) {
|
|||
<tab.icon
|
||||
className={classNames(
|
||||
tab.current ? "text-neutral-900" : "text-gray-400 group-hover:text-gray-500",
|
||||
"-ml-0.5 mr-2 h-5 w-5"
|
||||
"-ml-0.5 mr-2 h-5 w-5 hidden sm:inline-block"
|
||||
)}
|
||||
aria-hidden="true"
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue