Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
Dashboard styling (#849)
Oleg Isonendd40f745a5e8
diff --git a/apps/designer/app/dashboard/header.tsx b/apps/designer/app/dashboard/header.tsxindex 8ddb77232a..05b796bdc3 100644--- a/apps/designer/app/dashboard/header.tsx+++ b/apps/designer/app/dashboard/header.tsx@@ -20,8 +20,8 @@ import type { User } from "~/shared/db/user.server";const containerStyle = css({px: theme.spacing[13],bc: theme.colors.backgroundPanel,- borderBottom: `${theme.spacing[1]} solid ${theme.colors.slate8}`,height: theme.spacing[17],+ boxShadow: theme.shadows.brandElevationBig,});const getAvatarLetter = (title?: string) => {diff --git a/apps/designer/app/dashboard/panel.tsx b/apps/designer/app/dashboard/panel.tsxindex 6ba253a8ba..e764f2f8b4 100644--- a/apps/designer/app/dashboard/panel.tsx+++ b/apps/designer/app/dashboard/panel.tsx@@ -8,8 +8,8 @@ const panelStyle = css({borderRadius: theme.borderRadius[6],color: theme.colors.foregroundMain,minWidth: "min-content",- maxWidth: "max-content",boxShadow: theme.shadows.brandElevationBig,+ flexGrow: 1,});export const Panel = (props: ComponentProps<typeof Box>) => (diff --git a/apps/designer/app/dashboard/projects.tsx b/apps/designer/app/dashboard/projects.tsxindex 366b20bc56..a3369e0bf6 100644--- a/apps/designer/app/dashboard/projects.tsx+++ b/apps/designer/app/dashboard/projects.tsx@@ -6,17 +6,13 @@ import type { DashboardProject } from "@webstudio-is/prisma-client";import { ProjectCard } from "./project-card";import { NewProject } from "./new-project";-const projectsContainerStyle = {- "@laptop": { minWidth: 900 },-};-type ProjectsProps = {projects: Array<DashboardProject>;};export const Projects = ({ projects }: ProjectsProps) => {return (- <Panel css={projectsContainerStyle}>+ <Panel><Flex direction="column" gap="3"><Flex justify="between"><Heading variant="small">Projects</Heading>diff --git a/packages/design-system/src/components/avatar.tsx b/packages/design-system/src/components/avatar.tsxindex 4790e5c056..6a2a62a0ea 100644--- a/packages/design-system/src/components/avatar.tsx+++ b/packages/design-system/src/components/avatar.tsx@@ -42,8 +42,8 @@ const StyledAvatar = styled(AvatarPrimitive.Root, {height: theme.spacing[9],},"2": {- width: theme.spacing[11],- height: theme.spacing[11],+ width: theme.spacing[12],+ height: theme.spacing[12],},"3": {width: theme.spacing[13],