Skip to content

Commit f20ee9a

Browse files
Merge pull request #8639 from sagemathinc/fix-spacing-project-settings-about-title-8638
frontend/project: fix spacing between 'About' title and project title
2 parents 453f8a6 + 0d9bfdb commit f20ee9a

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/packages/frontend/project/settings/about-box.tsx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import ShowError from "@cocalc/frontend/components/error";
7-
import { Alert, Button, Col, Modal, Row, Typography } from "antd";
7+
import { Alert, Button, Col, Flex, Modal, Row, Typography } from "antd";
88
import React, { useState } from "react";
99
import { useIntl } from "react-intl";
1010

@@ -363,14 +363,16 @@ export const AboutBox: React.FC<Props> = (props: Readonly<Props>) => {
363363
return (
364364
<SettingBox
365365
title={
366-
<>
367-
{intl.formatMessage(labels.about)}{" "}
368-
<ProjectTitle
369-
style={{ float: "right" }}
370-
project_id={project_id}
371-
noClick
372-
/>
373-
</>
366+
<Flex
367+
justify="space-between"
368+
align="center"
369+
wrap
370+
gap="10px"
371+
style={{ width: "100%" }}
372+
>
373+
{intl.formatMessage(labels.about)}
374+
<ProjectTitle project_id={project_id} noClick />
375+
</Flex>
374376
}
375377
icon="file-alt"
376378
>

0 commit comments

Comments
 (0)