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
fix: Remove uppercasing on dashboard card titles and also enable user-select. (#4402)
Oleg Isonen7ec1bb54ad1d
diff --git a/apps/builder/app/dashboard/projects/project-card.tsx b/apps/builder/app/dashboard/projects/project-card.tsxindex 3a2d425be3..edcc657a79 100644--- a/apps/builder/app/dashboard/projects/project-card.tsx+++ b/apps/builder/app/dashboard/projects/project-card.tsx@@ -36,11 +36,6 @@ import type { DashboardProject } from "@webstudio-is/dashboard";import { Card, CardContent, CardFooter } from "../shared/card";import { CloneProjectDialog } from "~/shared/clone-project";-const titleStyle = css({- userSelect: "text",- ...truncate(),-});-const infoIconStyle = css({ flexShrink: 0 });const PublishedLink = ({@@ -248,7 +243,12 @@ export const ProjectCard = ({<CardFooter><Flex direction="column" justify="around" grow><Flex gap="1">- <Text variant="titles" className={titleStyle()}>+ <Text+ variant="titles"+ userSelect="text"+ truncate+ css={{ textTransform: "none" }}+ >{title}</Text><Tooltip