mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 03:26:17 +00:00
Update proxmox-dashboard.tsx
This commit is contained in:
@@ -298,10 +298,8 @@ export function ProxmoxDashboard() {
|
||||
<div className="container mx-auto px-4 md:px-6 py-4 md:py-6">
|
||||
<Tabs value={activeTab} onValueChange={setActiveTab} className="space-y-4 md:space-y-6">
|
||||
<div
|
||||
className={`fixed top-[88px] md:top-[72px] left-0 right-0 z-40 px-4 md:px-6 transition-transform duration-300 ${
|
||||
scrollDirection === "down" && !isAtTop
|
||||
? "-translate-y-[calc(100%+88px)] md:-translate-y-[calc(100%+72px)]"
|
||||
: "translate-y-0"
|
||||
className={`sticky top-[88px] md:top-[72px] left-0 right-0 z-40 mt-4 md:mt-4 transition-transform duration-300 ${
|
||||
scrollDirection === "down" && !isAtTop ? "-translate-y-[200%]" : "translate-y-0"
|
||||
}`}
|
||||
>
|
||||
<div className="container mx-auto">
|
||||
@@ -451,7 +449,7 @@ export function ProxmoxDashboard() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="pt-16 md:pt-12">
|
||||
<div className="pt-4 md:pt-4">
|
||||
<TabsContent value="overview" className="space-y-4 md:space-y-6">
|
||||
<SystemOverview key={`overview-${componentKey}`} />
|
||||
</TabsContent>
|
||||
|
||||
Reference in New Issue
Block a user