From 7e670855033e8f9355ccbfb2340cf2360b2b5af6 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 23 Apr 2020 15:38:26 +0100 Subject: [PATCH] iterate compatibility page and make styling consistent between firefox and chrome Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/css/structures/ErrorView.scss | 1 + src/components/structures/CompatibilityPage.tsx | 12 ++++-------- src/i18n/strings/en_EN.json | 7 +++---- src/vector/index.html | 2 +- src/vector/static/incompatible-browser.html | 3 +-- 5 files changed, 10 insertions(+), 15 deletions(-) diff --git a/res/css/structures/ErrorView.scss b/res/css/structures/ErrorView.scss index d2e58994b6..f75ee6956f 100644 --- a/res/css/structures/ErrorView.scss +++ b/res/css/structures/ErrorView.scss @@ -25,6 +25,7 @@ limitations under the License. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c5e0f7', endColorstr='#ffffff',GradientType=0 ); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; width: 100%; + min-height: 100%; height: auto; color: #000; diff --git a/src/components/structures/CompatibilityPage.tsx b/src/components/structures/CompatibilityPage.tsx index 7de6ef7e3f..a5b3f7ba79 100644 --- a/src/components/structures/CompatibilityPage.tsx +++ b/src/components/structures/CompatibilityPage.tsx @@ -39,12 +39,10 @@ const CompatibilityPage: React.FC = ({ onAccept }) => {
-

{ _t("Use Riot in a browser") }

-

{ _t("Sorry, your browser is not able to run Riot.", {}, { 'b': (sub) => {sub} }) }

+

{ _t("Your browser can't run Riot") }

{ _t( - "Riot uses many advanced browser features, some of which are not available " + - "or experimental in your current browser.", + "Riot uses advanced browser features which aren't supported by your current browser.", ) }

@@ -61,10 +59,8 @@ const CompatibilityPage: React.FC = ({ onAccept }) => {

{ _t( - "With your current browser, the look and feel of the application may be " + - "completely incorrect, and some or all features may not function. " + - "If you want to try it anyway you can continue, but you are on your own in terms " + - "of any issues you may encounter!", + "You can continue using your current browser, but some or all features may not work " + + "and the look and feel of the application may be incorrect.", ) }