File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ void WebEnginePage::injectClassChangeObserver() {
348
348
R"(
349
349
const observer = new MutationObserver(() => {
350
350
var haveFullView = document.body.classList.contains('whatsie-full-view');
351
- var container = document.querySelector('#app > .app-wrapper-web > div ');
351
+ var container = document.querySelector('#app > .app-wrapper-web > .two ');
352
352
if(container){
353
353
if(haveFullView){
354
354
container.style.width = '100%';
@@ -404,7 +404,7 @@ void WebEnginePage::injectFullWidthJavaScript() {
404
404
return ;
405
405
QString js =
406
406
R"( function updateFullWidthView(element) {
407
- var container = document.querySelector('#app > .app-wrapper-web > div ');
407
+ var container = document.querySelector('#app > .app-wrapper-web > .two ');
408
408
container.style.width = '100%';
409
409
container.style.height = '100%';
410
410
container.style.top = '0';
You can’t perform that action at this time.
0 commit comments