chatscope / chatscope/chat-ui-kit-react

Add padding on Input buttons size and make height same as the Input bar

Open
#59 1 comment 1 reaction 1 assignee Claimed by @supersnager View on GitHub
enhancement
Dominant language
JavaScript
Stars
1.8k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Hello ! The styling of the buttons improved greatly, thank you for the last update !
Some minor fixes I'd like to see on them are:
- Add some spacing with the Input bar. When adding a background color to the buttons, they are really stuck to the bar, and I would expect the layout to be by default adapted to that
- Add some height to the buttons. Again, when adding a background color, and when the Input bar is at it's minimum height, the buttons could be of the same height, it would be more elegant

See the screenshot, it will be more descriptive
Screen Shot 2021-11-30 at 2 11 35 PM

Current workaround and expected look:
```
const buttonStyle = {
marginLeft: 0,
marginTop: 5,
paddingLeft: '0.2em',
paddingRight: '0.2em',
color: '#0C3276',
backgroundColor: '#C7FED2',
width: '48px',
height: '45px',
flexGrow: 0,
flexShrink: 0
};

const CustomInput =






```
Screen Shot 2021-11-30 at 2 20 44 PM

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.