Skip to content

Commit

Permalink
Merge pull request #292 from AppQuality/chat-box-border-fix
Browse files Browse the repository at this point in the history
Chat box border fix
  • Loading branch information
cannarocks authored Jan 8, 2024
2 parents 3ff81dd + 9e5eaa9 commit bf7c9dc
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 5 deletions.
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,56 @@
# v3.1.63 (Thu Jan 04 2024)

#### 🐛 Bug Fix

- Develop [#291](https://github.com/AppQuality/unguess-design-system/pull/291) ([@cannarocks](https://github.com/cannarocks))

#### Authors: 1

- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))

---

# v3.1.62 (Tue Jan 02 2024)

#### 🐛 Bug Fix

- [CHAT] Improvements and fixes [#290](https://github.com/AppQuality/unguess-design-system/pull/290) ([@cannarocks](https://github.com/cannarocks))
- fix(chat): add clear from external save and fix shrinked avat [#289](https://github.com/AppQuality/unguess-design-system/pull/289) ([@cannarocks](https://github.com/cannarocks))

#### Authors: 1

- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))

---

# v3.1.61 (Fri Dec 29 2023)

#### 🐛 Bug Fix

- Improve chat spacing and save behaviour [#288](https://github.com/AppQuality/unguess-design-system/pull/288) ([@cannarocks](https://github.com/cannarocks))
- Update-chat-spaces [#287](https://github.com/AppQuality/unguess-design-system/pull/287) ([@cannarocks](https://github.com/cannarocks))

#### Authors: 1

- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))

---

# v3.1.60 (Fri Dec 29 2023)

#### 🐛 Bug Fix

- Improve chat comments readability [#286](https://github.com/AppQuality/unguess-design-system/pull/286) ([@iDome89](https://github.com/iDome89) [@cannarocks](https://github.com/cannarocks))
- Add date comments [#285](https://github.com/AppQuality/unguess-design-system/pull/285) ([@cannarocks](https://github.com/cannarocks) [@marcbon](https://github.com/marcbon) [@iDome89](https://github.com/iDome89))

#### Authors: 3

- [@iDome89](https://github.com/iDome89)
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
- Marco Bonomo ([@marcbon](https://github.com/marcbon))

---

# v3.1.57 (Thu Dec 28 2023)

#### 🐛 Bug Fix
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@appquality/unguess-design-system",
"version": "3.1.59",
"version": "3.1.63",
"description": "",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
7 changes: 5 additions & 2 deletions src/stories/chat/parts/comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ const Footer = styled.div`
justify-content: flex-end;
gap: ${({ theme }) => theme.space.xs};
`;
const CommentTitle = styled(Title)`
color: ${({ theme }) => theme.palette.blue[600]};
`

export const Comment = ({
author,
Expand All @@ -59,10 +62,10 @@ export const Comment = ({
{author.avatar}
</Avatar>
<div>
<Title>
<CommentTitle>
{author.name ?? "User"}
<CommentDate>{date}</CommentDate>
</Title>
</CommentTitle>
<ReadOnly>
<Editor editable={false}>{message}</Editor>
</ReadOnly>
Expand Down
1 change: 1 addition & 0 deletions src/stories/chat/parts/containers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ export const MessagesContainer = styled.div<ChatArgs>`
gap: ${({ theme }) => theme.space.xs};
background: ${({ chatBkg }) => chatBkg ?? `#fff`};
overflow-y: auto;
border-top: ${({ theme }) => `1px solid ${theme.palette.grey[200]}`};
`;
1 change: 0 additions & 1 deletion src/stories/chat/parts/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export const ChatTitle = styled(Title)`
color: ${({ theme }) => theme.palette.blue[600]};
margin: ${({ theme }) => `0 -${theme.space.md}`};
padding: ${({ theme }) => `${theme.space.sm} ${theme.space.md}`};
border-bottom: ${({ theme }) => `1px solid ${theme.palette.grey[200]}`};
`;
1 change: 0 additions & 1 deletion src/stories/editor/editorHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const Header = styled.div`
display: flex;
flex-direction: column;
padding: ${({ theme }) => theme.space.xs} ${({ theme }) => theme.space.md};
border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
`;

const Title = styled(MD)<EditorHeaderArgs>`
Expand Down

0 comments on commit bf7c9dc

Please sign in to comment.