mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix: ensure deployment banner is always on the bottom (#19361)
This commit is contained in:
@@ -23,10 +23,10 @@ export const DashboardLayout: FC = () => {
|
||||
{canViewDeployment && <LicenseBanner />}
|
||||
<AnnouncementBanners />
|
||||
|
||||
<div className="flex flex-col h-screen">
|
||||
<div className="flex flex-col min-h-screen">
|
||||
<Navbar />
|
||||
|
||||
<div className="flex flex-col flex-1 min-h-0">
|
||||
<div className="flex flex-col flex-1 min-h-0 pb-12">
|
||||
<Suspense fallback={<Loader />}>
|
||||
<Outlet />
|
||||
</Suspense>
|
||||
|
||||
@@ -105,6 +105,7 @@ export const DeploymentBannerView: FC<DeploymentBannerViewProps> = ({
|
||||
|
||||
return (
|
||||
<div
|
||||
className="w-full"
|
||||
css={{
|
||||
position: "sticky",
|
||||
lineHeight: 1,
|
||||
|
||||
Reference in New Issue
Block a user