mirror of
https://github.com/sct/overseerr.git
synced 2025-09-28 21:14:27 +02:00
fix(ui): Fix settings navigation horizontal scroll issues (#987)
This commit is contained in:
@@ -122,20 +122,18 @@ const SettingsLayout: React.FC = ({ children }) => {
|
|||||||
))}
|
))}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div className="hidden sm:block">
|
<div className="hidden overflow-x-scroll overflow-y-hidden border-b border-gray-600 sm:block hide-scrollbar">
|
||||||
<div className="border-b border-gray-600">
|
<nav className="flex -mb-px">
|
||||||
<nav className="flex -mb-px">
|
{settingsRoutes.map((route, index) => (
|
||||||
{settingsRoutes.map((route, index) => (
|
<SettingsLink
|
||||||
<SettingsLink
|
route={route.route}
|
||||||
route={route.route}
|
regex={route.regex}
|
||||||
regex={route.regex}
|
key={`standard-settings-link-${index}`}
|
||||||
key={`standard-settings-link-${index}`}
|
>
|
||||||
>
|
{route.text}
|
||||||
{route.text}
|
</SettingsLink>
|
||||||
</SettingsLink>
|
))}
|
||||||
))}
|
</nav>
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-10 text-white">{children}</div>
|
<div className="mt-10 text-white">{children}</div>
|
||||||
|
@@ -311,7 +311,7 @@ const SettingsNotifications: React.FC = ({ children }) => {
|
|||||||
))}
|
))}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div className="hidden sm:block">
|
<div className="hidden overflow-x-scroll overflow-y-hidden sm:block hide-scrollbar">
|
||||||
<nav className="flex space-x-4" aria-label="Tabs">
|
<nav className="flex space-x-4" aria-label="Tabs">
|
||||||
{settingsRoutes.map((route, index) => (
|
{settingsRoutes.map((route, index) => (
|
||||||
<SettingsLink
|
<SettingsLink
|
||||||
|
Reference in New Issue
Block a user