Skip to content

Commit

Permalink
remove remaining instances of ImageMTextL (#1570)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer6497 authored Dec 27, 2024
1 parent 7935eb0 commit 74907bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions app/components/BoxWithImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ export type BoxWithImageProps = {
content?: string;
};

export type Variant = "ImgMTextL" | "XS" | "S" | "M" | "L" | "XL" | "XXL";
export type Variant = "XS" | "S" | "M" | "L" | "XL" | "XXL";

export const variantWidths: Record<Variant, string> = {
// TODO: Remove after new variant implementation
ImgMTextL: "max-w-[280px]",
XS: "max-w-[80px]",
S: "max-w-[120px]",
M: "max-w-[280px]",
Expand Down
2 changes: 1 addition & 1 deletion stories/BoxWithImage.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default meta;
export const Default: StoryObj<typeof meta> = {
args: {
image: { url: "public/og-image.png" },
variant: "ImgMTextL",
variant: "M",
heading: {
text: "Ein Pilotprojekt des Bundesministeriums der Justiz und der Justizministerien der Länder.",
tagName: "h1",
Expand Down

0 comments on commit 74907bd

Please sign in to comment.