+ 1

Fix the background issue?

https://code.sololearn.com/Wm0CPovm9N4L/#html Run this code, and input a fairly large number. I did about 340 or so. The number should go off screen, and a scroll bar should appear. When you scroll either vertically or horizontally past the background, you can clearly see my issue. How can I make the background fill the entire page? Is there a fix for this? Or am I stuck with a partial background when I use large numbers?

26th Sep 2018, 2:15 AM
Daniel Cooper
Daniel Cooper - avatar
7 Antworten
+ 5
BigInt() is not defined.
26th Sep 2018, 2:25 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
Note, BigInt is for Chrome / Chromium webviews version 69+ . This might be a browser-only code for anyone below Android Lollipop. I have a private code that imports / compares Decimal, BigNumber, and NumericJS for the rest of us, for future reference (if wanted).
26th Sep 2018, 2:52 AM
Kirk Schafer
Kirk Schafer - avatar
26th Sep 2018, 2:33 AM
Calviղ
Calviղ - avatar
+ 1
Dark Angel, that works fine for me. Maybe you accidentally changed something? And Calvin, that completely breaks the background for me. Very large numbers just kinda break it.
26th Sep 2018, 2:40 AM
Daniel Cooper
Daniel Cooper - avatar
+ 1
I gave an ES6 solution to Dark Angel's question before, found out that his phone cannot run some ES6 codes. https://www.sololearn.com/Discuss/1501911/?ref=app Advisable upgrade webview to latest version
26th Sep 2018, 2:56 AM
Calviղ
Calviղ - avatar
0
change to html, body { min-height: 100%; }
26th Sep 2018, 2:41 AM
Calviղ
Calviղ - avatar
0
Dark Angel, your phone is too old. all modern JavaScript cannot run. Upgrade webview might help.
26th Sep 2018, 2:49 AM
Calviղ
Calviղ - avatar