Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Introduce inline-icon shared class & use it in advanced search preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamik10 committed Oct 2, 2023
1 parent 28642cf commit 173f280
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/stories/Library/input-preview/InputPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ const InputPreview: React.FC<InputPreviewProps> = ({
<button className="link-tag mr-16 capitalize-first">Nulstil</button>
<button className="link-tag mr-16 capitalize-first">
Kopier streng
<img
className="inline-icon"
src="icons/collection/Check.svg"
alt=""
/>
</button>
<Links href="/" linkText="Rediger CQL" classNames="link-tag" />
</footer>
Expand Down
5 changes: 5 additions & 0 deletions src/styles/scss/shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,8 @@
}
}
}

.inline-icon {
display: inline;
margin: 0 0 -5px 5px;
}

0 comments on commit 173f280

Please sign in to comment.