Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #98 from tipisai/beta
Browse files Browse the repository at this point in the history
style: update chat message card style
  • Loading branch information
Wangtaofeng authored Apr 9, 2024
2 parents 1036c10 + f48681e commit cd82878
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export const MarkdownMessage: FC<MarkdownMessageProps> = (props) => {
minWidth: "24px",
boxShadow: "none",
}}
mouseEnterDelay={0}
title={
<span
css={hoverCopyStyle(isOwnMessage)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const hoverCopyStyle = (isOwnMessage?: boolean) => css`
background: ${getColor("white", "01")};
cursor: pointer;
color: ${getColor("grayBlue", "02")};
transform: translate(${isOwnMessage ? "-8px" : "8px"}, 12px);
transform: translate(${isOwnMessage ? "-8px" : "8px"}, 8px);
`

export const cellStyle = css`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export const containerStyle = css`
justify-content: flex-end;
align-items: flex-start;
flex-wrap: wrap;
margin-bottom: 8px;
${applyMobileStyle(css`
display: flex;
flex-direction: column;
Expand All @@ -21,7 +20,7 @@ export const containerStyle = css`
export const fileItemStyle = css`
display: flex;
width: 284px;
padding: 8px;
padding: 16px;
align-items: center;
gap: 4px;
align-self: stretch;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const senderContainerStyle = css`
overflow-x: hidden;
flex-direction: column;
align-items: end;
gap: 4px;
gap: 8px;
max-width: 100%;
`

Expand Down

0 comments on commit cd82878

Please sign in to comment.