Skip to content

Commit

Permalink
fix(fe): divider misaligned in schema registry
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewinci committed Nov 5, 2022
1 parent fb066c9 commit a30b2ac
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions src/pages/schema-registry/schema.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
import styled from "@emotion/styled";
import {
ActionIcon,
Center,
Container,
Divider,
Group,
Loader,
Menu,
ScrollArea,
Select,
Tooltip,
Text,
} from "@mantine/core";
import { ActionIcon, Center, Container, Group, Loader, Menu, ScrollArea, Select, Tooltip, Text } from "@mantine/core";
import { openConfirmModal } from "@mantine/modals";
import { Prism } from "@mantine/prism";
import { IconTool, IconTrash, IconVersions } from "@tabler/icons";
Expand Down Expand Up @@ -44,11 +32,9 @@ export const Schema = ({ schemaName, clusterId }: SchemaProps) => {

return (
<Container>
<Group noWrap style={{ maxHeight: 50 }} position={"apart"}>
<PageHeader title={schemaName} subtitle={`Compatibility level: ${subject?.compatibility}`} />
<PageHeader title={schemaName} subtitle={`Compatibility level: ${subject?.compatibility}`}>
{state?.version && <Tools clusterId={clusterId} subject={schemaName} version={state.version} />}
</Group>
<Divider my={10} />
</PageHeader>
{!isLoading && subject && (
<Group>
<Tooltip position="right" label="Schema version">
Expand All @@ -61,6 +47,7 @@ export const Schema = ({ schemaName, clusterId }: SchemaProps) => {
</Tooltip>
</Group>
)}

<ScrollArea mt={20}>
<Center hidden={!isLoading} mt={10}>
<Loader />
Expand Down

0 comments on commit a30b2ac

Please sign in to comment.