Skip to content

Commit

Permalink
feat(console): remove rounded corners for playground and learn sites (#…
Browse files Browse the repository at this point in the history
…3949)

Before
<img width="1512" alt="image" src="https://github.com/winglang/wing/assets/5547636/c6ef78c1-ee2a-42e3-9f4a-e374321691fa">

After
<img width="1512" alt="image" src="https://github.com/winglang/wing/assets/5547636/66c616b3-4b98-4370-a50b-1fc8a773cb1f">


*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
polamoros authored Aug 24, 2023
1 parent 9c6fa1d commit d5e69bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/wing-console/console/ui/src/layout/default-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ export const DefaultLayout = ({
"h-full flex flex-col select-none",
theme.text2,
showTerms && "blur-sm",
"gap-1 pt-1",
"gap-1",
layout?.panels?.rounded && "pt-1",
)}
>
{cloudAppState === "error" &&
Expand Down
6 changes: 6 additions & 0 deletions apps/wing-console/console/ui/src/layout/layout-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ export function LayoutProvider({
},
],
},
panels: {
rounded: false,
},
};

break;
Expand All @@ -64,6 +67,9 @@ export function LayoutProvider({
statusBar: {
hide: true,
},
panels: {
rounded: false,
},
};
break;
}
Expand Down

0 comments on commit d5e69bf

Please sign in to comment.