Front small ui fixes (#428)

* fix: add ellipsis in all table cells

* fix: workspace click redirect to home

* fix: add company chip story and edit comment cell story

* fix: remove cursor pointer on workspace name

* fix: snoop pill height

* fix: rebase
This commit is contained in:
Jérémy M
2023-06-27 17:56:48 +02:00
committed by GitHub
parent edee69bc07
commit c9038bb93a
15 changed files with 144 additions and 61 deletions

View File

@ -3,6 +3,7 @@ import { Link as ReactLink } from 'react-router-dom';
import styled from '@emotion/styled';
type OwnProps = {
className?: string;
href: string;
children?: React.ReactNode;
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
@ -17,9 +18,9 @@ const StyledClickable = styled.div`
}
`;
export function RawLink({ href, children, onClick }: OwnProps) {
export function RawLink({ className, href, children, onClick }: OwnProps) {
return (
<StyledClickable>
<StyledClickable className={className}>
<ReactLink onClick={onClick} to={href}>
{children}
</ReactLink>