Chats: fix action button icons
This commit is contained in:
parent
4e18d7e505
commit
78529df4c1
2 changed files with 8 additions and 7 deletions
|
@ -171,9 +171,8 @@ class ChatBox extends ImmutablePureComponent {
|
||||||
return this.canSubmit() ? (
|
return this.canSubmit() ? (
|
||||||
<div className='chat-box__send'>
|
<div className='chat-box__send'>
|
||||||
<IconButton
|
<IconButton
|
||||||
icon='send'
|
src={require('@tabler/icons/icons/send.svg')}
|
||||||
title={intl.formatMessage(messages.send)}
|
title={intl.formatMessage(messages.send)}
|
||||||
size={16}
|
|
||||||
onClick={this.sendMessage}
|
onClick={this.sendMessage}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -296,20 +296,22 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.icon-button {
|
.icon-button {
|
||||||
color: var(--primary-text-color--faint);
|
color: var(--primary-text-color);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
top: calc(50% - 13px);
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
|
||||||
|
|
||||||
.chat-box__send .icon-button {
|
.svg-icon {
|
||||||
top: calc(50% - 9px);
|
width: 18px;
|
||||||
|
height: 18px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
|
|
Loading…
Reference in a new issue