Skip to content

Commit

Permalink
🪟 🎨 Fix Configuration settings page layout (#22565)
Browse files Browse the repository at this point in the history
* Cleanup ConfigurationsPage layout, extend card width to fit page remove top margin

* Replace div with fragment in ConfigurationsPage
  • Loading branch information
edmundito authored Feb 8, 2023
1 parent 2e099ac commit 4ab4cec
Showing 1 changed file with 4 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@
import React from "react";
import { FormattedMessage } from "react-intl";
import styled from "styled-components";

import { HeadTitle } from "components/common/HeadTitle";
import { Card } from "components/ui/Card";

import LogsContent from "./components/LogsContent";

const Content = styled.div`
max-width: 813px;
`;

const ControlContent = styled(Card)`
margin-top: 12px;
`;

const ConfigurationsPage: React.FC = () => {
return (
<Content>
<>
<HeadTitle titles={[{ id: "sidebar.settings" }, { id: "admin.configuration" }]} />
<ControlContent title={<FormattedMessage id="admin.logs" />}>
<Card title={<FormattedMessage id="admin.logs" />}>
<LogsContent />
</ControlContent>
</Content>
</Card>
</>
);
};

Expand Down

0 comments on commit 4ab4cec

Please sign in to comment.