JSFiddle window cannot resize

After expanding the JavaScript panel all the way and resizing my browser window, I can no longer see the result / HTML panels and cannot drag the panel back to position.

I can resize windows vertically, not horizontally.

enter image description here

I tried in Chrome:

  • Open / close tab / browser
  • Empty cache
  • Disabling / enabling the cache in developer mode
  • Delete all cookies
  • with an open console, an empty cache, and a hard reset.
  • In particular, deleting cookies related to jsfiddle.net via chrome: // settings / cookies
  • Manually set window_sizes with this: http://pastebin.com/rBMHfvqV
  • Browser window extension
  • Disable all extensions

My current window_sizes:

window_sizes={ "w":[ "104.46009389671363%", "0.4694835680751197%" ], "h:[ "23.96416573348264%", "76.03583426651736%", "21.50055991041433%", "78.49944008958568%" ] }; 

Windows on jsfiddle are displayed correctly in incognito mode. I also did not go to jsfiddle.net for a week, hoping that by this time some cookies / secret meat would expire.

+6
source share
4 answers

Well, I could not find a way to โ€œsetโ€ these window sizes through some command line code.

What I did was go through the html page in developer mode and set the width manually.

In the โ€œContentโ€ section, find <fieldset class = "column left"..> and <fieldset class = "column right"..> and double-click on the width or height to set percentages for something that you can actually see .

I did this and then reloaded the page and everything was fine.

+2
source

You can reset the values โ€‹โ€‹of your JSFiddle windows to return to default by running the following code from the console:

 Layout.setWindowSizes(null) 
+11
source

I had the same problem. An odd way to fix this is to horizontally stretch the entire window until it becomes as possible. Then, hanging over the window, you should be able to adjust the margin. Worked for me.

0
source

Try running this JavaScript bit in the browser console to clear the cookie:

 // Set the cookie date to the previous day. var date = new Date(); date.setTime(date.getTime() + (-1*24*60*60*1000)); // Overwrite the cookie value with an empty string and expire the cookie document.cookie = "window_sizes=" + "; expires=" + date.toISOString() + "; path=/"; 

After running this script and reloading the page, everything was fine for me.

0
source

Source: https://habr.com/ru/post/971626/


All Articles