Skip to content

Commit

Permalink
fix style issue with +New page I caused (never live)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamstein committed Dec 9, 2024
1 parent ce568f6 commit f6fbd4f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/packages/frontend/components/setting-box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* License: MS-RSL – see LICENSE.md for details
*/

import { Card, Flex, Typography } from "antd";
import { Card, Typography } from "antd";
import { CSSProperties, ReactNode } from "react";
import { CloseX2 } from "./close-x2";
import { Icon, IconName } from "./icon";
Expand Down Expand Up @@ -42,9 +42,7 @@ export function SettingBox({
show_header ? (
<div style={{ whiteSpace: "normal" }}>
<Title level={4}>
<Flex>
{icon && <Icon name={icon} />}&nbsp;{title}
</Flex>
{icon && <Icon name={icon} />}&nbsp;{title}
</Title>
{subtitle}
{/* subtitle must be outside of the Typography.Title -- this is assumed, e.g., in frontend/project/new/project-new-form.tsx */}
Expand Down

0 comments on commit f6fbd4f

Please sign in to comment.