Commit ea07e9b
committed
Don't give webview a width if its container has none
Fixes microsoft#94805
When the panel is maximized over a webview, on reload VS Code calls `.layout` with the dimensions of the editor. However in this case, the dimensions do not match what is actually visible
In this case, the parent element should have zero width so we should make sure that we do not try giving the webview a width too1 parent c7abcf4 commit ea07e9b
File tree
1 file changed
+2
-2
lines changed- src/vs/workbench/contrib/webview/browser
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
| 105 | + | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments