mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Fix styling of buttons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
c4e4dadc13
commit
202cb0f5d8
2 changed files with 9 additions and 2 deletions
|
@ -87,7 +87,12 @@ limitations under the License.
|
|||
color: $secondary-fg-color;
|
||||
margin-right: 16px;
|
||||
|
||||
.mx_CallEvent_content_callBack {
|
||||
.mx_CallEvent_content_button {
|
||||
height: 24px;
|
||||
padding: 0px 12px;
|
||||
}
|
||||
|
||||
.mx_CallEvent_content_button_callBack {
|
||||
margin-left: 10px; // To match mx_callEvent
|
||||
}
|
||||
|
||||
|
|
|
@ -85,12 +85,14 @@ export default class CallEvent extends React.Component<IProps, IState> {
|
|||
title={this.state.silenced ? _t("Sound on"): _t("Silence call")}
|
||||
/>
|
||||
<AccessibleButton
|
||||
className="mx_CallEvent_content_button"
|
||||
onClick={ this.props.callEventGrouper.rejectCall }
|
||||
kind="danger"
|
||||
>
|
||||
{ _t("Decline") }
|
||||
</AccessibleButton>
|
||||
<AccessibleButton
|
||||
className="mx_CallEvent_content_button"
|
||||
onClick={ this.props.callEventGrouper.answerCall }
|
||||
kind="primary"
|
||||
>
|
||||
|
@ -162,7 +164,7 @@ export default class CallEvent extends React.Component<IProps, IState> {
|
|||
<div className="mx_CallEvent_content">
|
||||
{ _t("You missed this call") }
|
||||
<AccessibleButton
|
||||
className="mx_CallEvent_content_callBack"
|
||||
className="mx_CallEvent_content_button mx_CallEvent_content_button_callBack"
|
||||
onClick={ this.props.callEventGrouper.callBack }
|
||||
kind="primary"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue