mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-06 07:44:04 +08:00
fix(cloud): retire beta banner and use production subscription links
This commit is contained in:
@@ -203,9 +203,7 @@ function SidebarProvider({
|
||||
{
|
||||
'--sidebar-width': `${sidebarWidth}px`,
|
||||
'--sidebar-width-icon': SIDEBAR_WIDTH_ICON,
|
||||
// Global notices (e.g. the beta banner) publish their height so
|
||||
// the shell starts below them instead of underneath.
|
||||
height: 'calc(100svh - var(--beta-banner-height, 0px))',
|
||||
height: '100svh',
|
||||
...style,
|
||||
} as React.CSSProperties
|
||||
}
|
||||
@@ -302,8 +300,8 @@ function Sidebar({
|
||||
<div
|
||||
data-slot="sidebar-container"
|
||||
style={{
|
||||
top: 'var(--beta-banner-height, 0px)',
|
||||
height: 'calc(100svh - var(--beta-banner-height, 0px))',
|
||||
top: 0,
|
||||
height: '100svh',
|
||||
}}
|
||||
className={cn(
|
||||
'fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex',
|
||||
|
||||
Reference in New Issue
Block a user