Skip to content

Commit 1afa675

Browse files
committed
style: minor improvements to submit item styling
1 parent 7c6e188 commit 1afa675

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

web/src/pages/SubmitItem/Policy/Info.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const alertMessage =
1212
const Info: React.FC = () => {
1313
return (
1414
<div className={cn("flex justify-center w-[84vw] mb-8", landscapeWitdhCalc)}>
15-
<AlertMessage variant="info" title="Important" msg={alertMessage} />
15+
<AlertMessage className="[&_h2]:m-0" variant="info" title="Important" msg={alertMessage} />
1616
</div>
1717
);
1818
};

web/src/pages/SubmitItem/Preview/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ import { Card } from "@kleros/ui-components-library";
44
import NavigationButtons from "../NavigationButtons";
55
import ListDisplay from "./ListDisplay";
66
import ItemDisplay from "./ItemDisplay";
7+
import clsx from "clsx";
78

89
const Preview: React.FC = () => {
910
return (
1011
<div className="flex flex-col items-center w-full py-0" style={{ paddingInline: responsiveSize(10, 130) }}>
1112
<h2 className="text-center font-semibold mb-8 w-[84vw] lg:w-auto">Preview</h2>
1213
<Card
13-
className="relative flex flex-col gap-8 w-full h-auto min-h-[100px]"
14+
className={clsx(
15+
"relative flex flex-col gap-8 w-full h-auto min-h-[100px]",
16+
"border-dashed border-klerosUIComponentsPrimaryBlue bg-klerosUIComponentsMediumBlue"
17+
)}
1418
style={{
1519
marginBottom: responsiveSize(0, 16),
1620
paddingBlock: responsiveSize(24, 48),

0 commit comments

Comments
 (0)