mirror of
https://github.com/liriliri/eruda.git
synced 2026-02-02 09:49:00 +08:00
Fix: Font size overwritten #3
This commit is contained in:
@@ -14,7 +14,7 @@ Logging things out on mobile browser is never an easy stuff. I used to include `
|
|||||||
|
|
||||||
Browse it on your phone: [http://liriliri.github.io/eruda/](http://liriliri.github.io/eruda/)
|
Browse it on your phone: [http://liriliri.github.io/eruda/](http://liriliri.github.io/eruda/)
|
||||||
|
|
||||||
In order to try it on different sites, execute the script below on address bar.
|
In order to try it for different sites, execute the script below on browser address bar.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
javascript:(function () { var script = document.createElement('script'); script.src="//liriliri.github.io/eruda/eruda.min.js"; document.body.appendChild(script); script.onload=function () { eruda.init() } })();
|
javascript:(function () { var script = document.createElement('script'); script.src="//liriliri.github.io/eruda/eruda.min.js"; document.body.appendChild(script); script.onload=function () { eruda.init() } })();
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
z-index: 100000;
|
z-index: 100000;
|
||||||
transform: translateZ(0);
|
transform: translateZ(0);
|
||||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 16px;
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
html {
|
||||||
|
font-size: 46px;
|
||||||
|
}
|
||||||
|
|
||||||
#test-element {
|
#test-element {
|
||||||
margin: 15px auto;
|
margin: 15px auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
Reference in New Issue
Block a user