You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix styling of buttons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user