a couple more UI tweaks
This commit is contained in:
+7
-3
@@ -1721,15 +1721,19 @@ video {
|
|||||||
left: initial;
|
left: initial;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 2rem;
|
padding: 5rem 3.5rem 2rem 3.5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.incoming-call-badges {
|
.incoming-call .caller-name {
|
||||||
text-align: center;
|
padding: 0.15rem 0.5rem;
|
||||||
|
border-radius: 0.35rem;
|
||||||
|
z-index: 1;
|
||||||
|
text-shadow: 0 0 1px white;
|
||||||
|
background-color: rgba(255, 255, 255, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.call-message {
|
.call-message {
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@ import { Drafty, Tinode } from 'tinode-sdk';
|
|||||||
import Alert from '../widgets/alert.jsx';
|
import Alert from '../widgets/alert.jsx';
|
||||||
import ContextMenu from '../widgets/context-menu.jsx';
|
import ContextMenu from '../widgets/context-menu.jsx';
|
||||||
import ForwardDialog from '../widgets/forward-dialog.jsx';
|
import ForwardDialog from '../widgets/forward-dialog.jsx';
|
||||||
import IncomingCall from '../widgets/call-incoming.jsx';
|
import CallIncoming from '../widgets/call-incoming.jsx';
|
||||||
|
|
||||||
import InfoView from './info-view.jsx';
|
import InfoView from './info-view.jsx';
|
||||||
import MessagesView from './messages-view.jsx';
|
import MessagesView from './messages-view.jsx';
|
||||||
@@ -1858,7 +1858,7 @@ class TinodeWeb extends React.Component {
|
|||||||
null
|
null
|
||||||
}
|
}
|
||||||
{this.state.callTopic && this.state.callState == CALL_STATE_INCOMING_RECEIVED ?
|
{this.state.callTopic && this.state.callState == CALL_STATE_INCOMING_RECEIVED ?
|
||||||
<IncomingCall
|
<CallIncoming
|
||||||
tinode={this.tinode}
|
tinode={this.tinode}
|
||||||
onClose={this.handleCallClose}
|
onClose={this.handleCallClose}
|
||||||
topic={this.state.callTopic}
|
topic={this.state.callTopic}
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ class Contact extends React.Component {
|
|||||||
if (this.props.previewIsVideoCall) {
|
if (this.props.previewIsVideoCall) {
|
||||||
// TODO: use words to describe call status and duration.
|
// TODO: use words to describe call status and duration.
|
||||||
preview = <CallStatus
|
preview = <CallStatus
|
||||||
direction={this.props.previewIsResponse}
|
incoming={this.props.previewIsResponse}
|
||||||
success={true} />; // FIXME: use actuall call completion status instead of TRUE.
|
success={true} />; // FIXME: use actuall call completion status instead of TRUE.
|
||||||
} else if (typeof this.props.preview == 'string') {
|
} else if (typeof this.props.preview == 'string') {
|
||||||
preview = this.props.preview;
|
preview = this.props.preview;
|
||||||
|
|||||||
+1
-1
@@ -12506,7 +12506,7 @@ class Contact extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component) {
|
|||||||
|
|
||||||
if (this.props.previewIsVideoCall) {
|
if (this.props.previewIsVideoCall) {
|
||||||
preview = react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_call_status_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
preview = react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_call_status_jsx__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
||||||
direction: this.props.previewIsResponse,
|
incoming: this.props.previewIsResponse,
|
||||||
success: true
|
success: true
|
||||||
});
|
});
|
||||||
} else if (typeof this.props.preview == 'string') {
|
} else if (typeof this.props.preview == 'string') {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user