Fix styling of buttons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
							parent
							
								
									c4e4dadc13
								
							
						
					
					
						commit
						202cb0f5d8
					
				|  | @ -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 New Issue
	
	 Šimon Brandner
						Šimon Brandner