Skip to content
Snippets Groups Projects
Commit f761422e authored by Tadeusz Miesiąc's avatar Tadeusz Miesiąc
Browse files

feat(pinslistitem): fixed css

parent efc617d0
No related branches found
No related tags found
2 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!38feat(results list): connected drugs drawer to results list
Pipeline #80034 passed
......@@ -10,7 +10,11 @@ interface PinsListItemProps {
}
export const PinsListItem = ({ name, type, onClick }: PinsListItemProps): JSX.Element => (
<button className="flex flex-row justify-between pt-4" onClick={onClick} type="button">
<button
className="flex w-full flex-row items-center justify-between pt-4"
onClick={onClick}
type="button"
>
<Icon name="pin" className={twMerge('mr-2 shrink-0', getPinColor(type))} />
<p className="w-full text-left">{name}</p>
<Icon name="chevron-right" className="h-6 w-6 shrink-0" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment