diff options
author | 2017-11-17 14:15:46 +0100 | |
---|---|---|
committer | 2017-11-17 14:15:46 +0100 | |
commit | 339be1baf7d7f4759d38c87b996edca43d1d3c08 (patch) | |
tree | d0f97fa93ea50393cb19a78248af99407c1e50ac | |
parent | get default local from default app config (diff) | |
download | ferdium-app-339be1baf7d7f4759d38c87b996edca43d1d3c08.tar.gz ferdium-app-339be1baf7d7f4759d38c87b996edca43d1d3c08.tar.zst ferdium-app-339be1baf7d7f4759d38c87b996edca43d1d3c08.zip |
streamline className
-rw-r--r-- | src/components/services/content/ServiceDisabled.js | 2 | ||||
-rw-r--r-- | src/components/services/content/WebviewCrashHandler.js | 2 | ||||
-rw-r--r-- | src/styles/services.scss | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/components/services/content/ServiceDisabled.js b/src/components/services/content/ServiceDisabled.js index 732b6c003..b5af3743d 100644 --- a/src/components/services/content/ServiceDisabled.js +++ b/src/components/services/content/ServiceDisabled.js | |||
@@ -35,7 +35,7 @@ export default class ServiceDisabled extends Component { | |||
35 | const { intl } = this.context; | 35 | const { intl } = this.context; |
36 | 36 | ||
37 | return ( | 37 | return ( |
38 | <div className="services__crash-handler"> | 38 | <div className="services__info-layer"> |
39 | <h1>{intl.formatMessage(messages.headline, { name })}</h1> | 39 | <h1>{intl.formatMessage(messages.headline, { name })}</h1> |
40 | <Button | 40 | <Button |
41 | label={intl.formatMessage(messages.action, { name })} | 41 | label={intl.formatMessage(messages.action, { name })} |
diff --git a/src/components/services/content/WebviewCrashHandler.js b/src/components/services/content/WebviewCrashHandler.js index d48152c18..d3e6951f3 100644 --- a/src/components/services/content/WebviewCrashHandler.js +++ b/src/components/services/content/WebviewCrashHandler.js | |||
@@ -62,7 +62,7 @@ export default class WebviewCrashHandler extends Component { | |||
62 | const { intl } = this.context; | 62 | const { intl } = this.context; |
63 | 63 | ||
64 | return ( | 64 | return ( |
65 | <div className="services__crash-handler"> | 65 | <div className="services__info-layer"> |
66 | <h1>{intl.formatMessage(messages.headline)}</h1> | 66 | <h1>{intl.formatMessage(messages.headline)}</h1> |
67 | <p>{intl.formatMessage(messages.text, { name })}</p> | 67 | <p>{intl.formatMessage(messages.text, { name })}</p> |
68 | <Button | 68 | <Button |
diff --git a/src/styles/services.scss b/src/styles/services.scss index 2a6540e0b..282c15121 100644 --- a/src/styles/services.scss +++ b/src/styles/services.scss | |||
@@ -13,7 +13,7 @@ | |||
13 | } | 13 | } |
14 | 14 | ||
15 | .services__webview, | 15 | .services__webview, |
16 | .services__crash-handler { | 16 | .services__info-layer { |
17 | position: absolute; | 17 | position: absolute; |
18 | width: 100%; | 18 | width: 100%; |
19 | top: 0; | 19 | top: 0; |
@@ -44,7 +44,7 @@ | |||
44 | } | 44 | } |
45 | 45 | ||
46 | .services__no-service, | 46 | .services__no-service, |
47 | .services__crash-handler { | 47 | .services__info-layer { |
48 | display: flex; | 48 | display: flex; |
49 | flex-direction: column; | 49 | flex-direction: column; |
50 | justify-content: center; | 50 | justify-content: center; |
@@ -63,7 +63,7 @@ | |||
63 | } | 63 | } |
64 | } | 64 | } |
65 | 65 | ||
66 | .services__crash-handler { | 66 | .services__info-layer { |
67 | position: absolut; | 67 | position: absolut; |
68 | z-index: 110; | 68 | z-index: 110; |
69 | } | 69 | } |