Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Change warning text #594
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunkat committed Apr 4, 2017
1 parent 23f90e5 commit 5106cb0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions src/assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1030,4 +1030,8 @@ td.pulse-off input {
padding-top: 10px;
max-width: 300px;
text-align: center;
}

.browser-warning p {
margin: 0;
}
9 changes: 5 additions & 4 deletions src/containers/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Login extends Component {
safari.pushNotification);
const isOpera = (!!window.opr && !!opr.addons) || !!window.opera ||
navigator.userAgent.indexOf(' OPR/') >= 0;

const isIE = /*@cc_on!@*/false || !!document.documentMode; // IE 6-11

const isEdge = !isIE && !!window.StyleMedia;
Expand Down Expand Up @@ -69,9 +69,10 @@ class Login extends Component {
redirect={redirect}
/>
{! isYourBrowserSupported &&
<span className="browser-warning">
Your browser might be not fully supported
</span>
<div className="browser-warning">
<p>Your browser might be not fully supported.</p>
<p>Please try Chrome in case of any errors.</p>
</div>
}
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/containers/MasterWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ class MasterWindow extends Component {
rawModalVisible={rawModal.visible}
indicator={indicator}
modalSaveStatus={
modal.saveStatus &&
modal.saveStatus.saved !== undefined ?
modal.saveStatus &&
modal.saveStatus.saved !== undefined ?
modal.saveStatus.saved : true
}
isDocumentNotSaved={modal.saveStatus ?
Expand Down

0 comments on commit 5106cb0

Please sign in to comment.