Skip to content

Commit

Permalink
Don't use footer twice on the page (remove from inputPreview component)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamik10 committed Oct 2, 2023
1 parent 173f280 commit d5d0bae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/stories/Library/input-preview/InputPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const InputPreview: React.FC<InputPreviewProps> = ({
"input-and-preview__preview--mobile": isMobile,
})}
>
<h3 className="text-body-medium-medium mb-24 capitalize-first">
<div className="text-body-medium-medium mb-24 capitalize-first">
CQL søgestreng
</h3>
</div>
<p className="text-body-medium-regular mb-32">{cqlPreviewText}</p>
<footer>
<section>
<button className="link-tag mr-16 capitalize-first">Nulstil</button>
<button className="link-tag mr-16 capitalize-first">
Kopier streng
Expand All @@ -35,7 +35,7 @@ const InputPreview: React.FC<InputPreviewProps> = ({
/>
</button>
<Links href="/" linkText="Rediger CQL" classNames="link-tag" />
</footer>
</section>
</Pagefold>
);
};
Expand Down

0 comments on commit d5d0bae

Please sign in to comment.