diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-02-01 23:09:22 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-02-01 23:09:22 +0100 |
commit | 4b7d3e26873dbae4aecff3224294d30d9c72bc6e (patch) | |
tree | 27bfb368f66b039f055292a0eb045777931720ac | |
parent | b23 (diff) | |
download | ferdium-app-4b7d3e26873dbae4aecff3224294d30d9c72bc6e.tar.gz ferdium-app-4b7d3e26873dbae4aecff3224294d30d9c72bc6e.tar.zst ferdium-app-4b7d3e26873dbae4aecff3224294d30d9c72bc6e.zip |
fix(Service): Fix unecessary webview resize
-rw-r--r-- | src/styles/services.scss | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/styles/services.scss b/src/styles/services.scss index 0e559501c..5acf92d2c 100644 --- a/src/styles/services.scss +++ b/src/styles/services.scss | |||
@@ -39,18 +39,12 @@ | |||
39 | webview { | 39 | webview { |
40 | background: $theme-gray-lighter; | 40 | background: $theme-gray-lighter; |
41 | display: inline-flex; | 41 | display: inline-flex; |
42 | height: 0; | 42 | height: 100%; |
43 | width: 0; | 43 | width: 100%; |
44 | } | 44 | } |
45 | 45 | ||
46 | &.is-active { | 46 | &.is-active { |
47 | z-index: 100; | 47 | z-index: 100; |
48 | |||
49 | webview { | ||
50 | flex: 0 1; | ||
51 | height: 100%; | ||
52 | width: 100%; | ||
53 | } | ||
54 | } | 48 | } |
55 | 49 | ||
56 | &--force-repaint webview { z-index: 5; } | 50 | &--force-repaint webview { z-index: 5; } |