mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Correct iconography for missed calls
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
4aa8d8ff21
commit
aedd535c92
2 changed files with 9 additions and 0 deletions
|
@ -43,6 +43,14 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.mx_CallEvent_voice.mx_CallEvent_missed .mx_CallEvent_type_icon::before {
|
||||||
|
mask-image: url('$(res)/img/voip/missed-voice.svg');
|
||||||
|
}
|
||||||
|
|
||||||
|
&.mx_CallEvent_video.mx_CallEvent_missed .mx_CallEvent_type_icon::before {
|
||||||
|
mask-image: url('$(res)/img/voip/missed-video.svg');
|
||||||
|
}
|
||||||
|
|
||||||
.mx_CallEvent_info {
|
.mx_CallEvent_info {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
|
@ -191,6 +191,7 @@ export default class CallEvent extends React.Component<IProps, IState> {
|
||||||
mx_CallEvent: true,
|
mx_CallEvent: true,
|
||||||
mx_CallEvent_voice: isVoice,
|
mx_CallEvent_voice: isVoice,
|
||||||
mx_CallEvent_video: !isVoice,
|
mx_CallEvent_video: !isVoice,
|
||||||
|
mx_CallEvent_missed: this.state.callState === CustomCallState.Missed,
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue