Skip to content

Commit

Permalink
fix: fix check icon size in publish dialog (#4700)
Browse files Browse the repository at this point in the history
## Description

closes #4562

## Steps for reproduction

1. click button
2. expect xyz

## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")

## Before merging

- [ ] tested locally and on preview environment (preview dev login:
0000)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env` file
  • Loading branch information
kof authored Jan 2, 2025
1 parent 2fe69ce commit 2917f78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions apps/builder/app/builder/features/topbar/domains.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions apps/builder/app/builder/features/topbar/publish.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2917f78

Please sign in to comment.