fix: onboarding flow styling (#15111)

* fix sidebar styling

* platform pricing style fixes
This commit is contained in:
Rajiv Sahal authored and GitHub committed 2024-05-20 14:09:59 +01:00
1 parent 5c2d2deb82
commit 98235d00c8
2 files changed
+7 -2

No files matched your search

@@ -23,7 +23,7 @@ export const PlatformPricing = ({ teamId }: PlatformPricingProps) => {
});
return (
<div className="flex h-auto flex-col items-center justify-center px-5 py-5 md:px-10 md:py-0 lg:h-[100vh]">
<div className="flex h-auto flex-col items-center justify-center px-5 py-10 md:px-10 lg:h-[100%]">
<div className="mb-5 text-center text-2xl font-semibold">
<h1>Subscribe to Platform</h1>
</div>
+6 -1
View File
@@ -925,6 +925,11 @@ function SideBar({ bannersHeight, user, isPlatformUser = false }: SideBarProps)
return publicPageUrl;
}, [orgBranding?.slug, user?.username, user?.org?.id]);
const sidebarStylingAttributes = {
maxHeight: `calc(100vh - ${bannersHeight}px)`,
top: `${bannersHeight}px`,
};
const bottomNavItems: NavigationItemType[] = [
{
name: "view_public_page",
@@ -951,7 +956,7 @@ function SideBar({ bannersHeight, user, isPlatformUser = false }: SideBarProps)
return (
<div className="relative">
<aside
style={{ maxHeight: `calc(100vh - ${bannersHeight}px)`, top: `${bannersHeight}px` }}
style={!isPlatformUser ? sidebarStylingAttributes : {}}
className="bg-muted border-muted fixed left-0 hidden h-full max-h-screen w-14 flex-col overflow-y-auto overflow-x-hidden border-r md:sticky md:flex lg:w-56 lg:px-3">
<div className="flex h-full flex-col justify-between py-3 lg:pt-4">
<header className="todesktop:-mt-3 todesktop:flex-col-reverse todesktop:[-webkit-app-region:drag] items-center justify-between md:hidden lg:flex">