Skip to content

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.

fix: fix check icon size in publish dialog (#4700)

Oleg Isonen2917f78f4cbc
diff --git a/apps/builder/app/builder/features/topbar/domains.tsx b/apps/builder/app/builder/features/topbar/domains.tsx
index d439466698..15b387ea93 100644
--- a/apps/builder/app/builder/features/topbar/domains.tsx
+++ b/apps/builder/app/builder/features/topbar/domains.tsx
@@ -146,12 +146,12 @@ const StatusIcon = (props: { projectDomain: Domain; isLoading: boolean }) => {
return (
<Tooltip content={text}>
<Flex
- align={"center"}
- justify={"center"}
+ align="center"
+ justify="center"
css={{
cursor: "pointer",
- width: theme.spacing[12],
- height: theme.spacing[12],
+ width: theme.sizes.controlHeight,
+ height: theme.sizes.controlHeight,
color: props.isLoading
? theme.colors.foregroundDisabled
: isVerifiedActive
diff --git a/apps/builder/app/builder/features/topbar/publish.tsx b/apps/builder/app/builder/features/topbar/publish.tsx
index 64cb1b0ef1..bb2ea8e51d 100644
--- a/apps/builder/app/builder/features/topbar/publish.tsx
+++ b/apps/builder/app/builder/features/topbar/publish.tsx
@@ -130,12 +130,12 @@ const ChangeProjectDomain = ({
<Grid flow="column" align="center">
<Tooltip content={error !== undefined ? error : statusText}>
<Flex
- align={"center"}
- justify={"center"}
+ align="center"
+ justify="center"
css={{
cursor: "pointer",
- width: theme.spacing[12],
- height: theme.spacing[12],
+ width: theme.sizes.controlHeight,
+ height: theme.sizes.controlHeight,
color:
error !== undefined || status === "FAILED"
? theme.colors.foregroundDestructive