omiu - fix mobile style of docs

This commit is contained in:
张磊 2019-01-04 15:33:17 +08:00
parent d8cfa2f5c9
commit 350761fecd
15 changed files with 20 additions and 17 deletions

View File

@ -5,8 +5,8 @@
"example.js.map": "static/js/example.f46ce006.js.map",
"index.css": "static/css/index.fd06c8ea.css",
"index.css.map": "static/css/index.fd06c8ea.css.map",
"index.js": "static/js/index.31beb401.js",
"index.js.map": "static/js/index.31beb401.js.map",
"index.js": "static/js/index.fabf569a.js",
"index.js.map": "static/js/index.fabf569a.js.map",
"static/js/0.431d0e59.chunk.js": "static/js/0.431d0e59.chunk.js",
"static/js/0.431d0e59.chunk.js.map": "static/js/0.431d0e59.chunk.js.map",
"static/js/1.9bd61ec1.chunk.js": "static/js/1.9bd61ec1.chunk.js",
@ -87,6 +87,6 @@
"tree.js.map": "static/js/tree.f0c72bf9.js.map",
"zh-cn.css": "static/css/zh-cn.fd06c8ea.css",
"zh-cn.css.map": "static/css/zh-cn.fd06c8ea.css.map",
"zh-cn.js": "static/js/zh-cn.33700401.js",
"zh-cn.js.map": "static/js/zh-cn.33700401.js.map"
"zh-cn.js": "static/js/zh-cn.9ea917df.js",
"zh-cn.js.map": "static/js/zh-cn.9ea917df.js.map"
}

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/dracula.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omiu - Simple Omi UI</title><link href="./static/css/index.fd06c8ea.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/highlight.pack.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.31beb401.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/dracula.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omiu - Simple Omi UI</title><link href="./static/css/index.fd06c8ea.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/highlight.pack.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.fabf569a.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/dracula.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omiu - Simple Omi UI</title><link href="./static/css/zh-cn.fd06c8ea.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/highlight.pack.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/zh-cn.33700401.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/dracula.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omiu - Simple Omi UI</title><link href="./static/css/zh-cn.fd06c8ea.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/highlight.pack.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/zh-cn.9ea917df.js"></script></body></html>

View File

@ -47,5 +47,8 @@ iframe{
width: 100%;
}
.ctn{
width: 100%;
}
}

View File

@ -24,7 +24,7 @@ define('my-demo', class extends WeElement {
render() {
return (
<div>
<div class='ctn'>
<iframe style={`height:${window.innerHeight-59}px`} src={this.demo} ></iframe>
</div>
)