fix(ui): correct horizontal overflow behavior of settings tabs (#1667)

pull/1653/head^2
TheCatLady 4 years ago committed by GitHub
parent e1f5febe7b
commit e6d5f0abfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -136,9 +136,8 @@ const SettingsTabs: React.FC<{
</nav>
</div>
) : (
<div className="hidden sm:block">
<div className="border-b border-gray-600">
<nav className="flex -mb-px">
<div className="hidden overflow-x-scroll border-b border-gray-600 sm:block hide-scrollbar">
<nav className="flex">
{settingsRoutes
.filter(
(route) =>
@ -164,7 +163,6 @@ const SettingsTabs: React.FC<{
))}
</nav>
</div>
</div>
)}
</>
);

Loading…
Cancel
Save