mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
fixed replace regex, ios size
This commit is contained in:
parent
f54756512e
commit
d414cac540
3 changed files with 7 additions and 3 deletions
|
@ -732,9 +732,13 @@ input:-moz-placeholder {
|
|||
}
|
||||
/* For iPhone portrait layouts only */
|
||||
@media only screen and (max-device-width: 480px) and (orientation: portrait) {
|
||||
#viewer {
|
||||
width: 256px;
|
||||
height: 432px;
|
||||
}
|
||||
#viewer iframe {
|
||||
width: 256px;
|
||||
height: 468px;
|
||||
height: 432px;
|
||||
}
|
||||
}
|
||||
/* For iPhone landscape layouts only */
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title></title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, minimal-ui">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
|
||||
<link rel="stylesheet" href="../demo/css/normalize.css">
|
||||
|
|
|
@ -101,7 +101,7 @@ EPUBJS.replace.stylesheets = function(_store, full) {
|
|||
EPUBJS.replace.cssUrls = function(_store, base, text){
|
||||
var deferred = new RSVP.defer(),
|
||||
promises = [],
|
||||
matches = text.match(/url\(\'?\"?([^\'|^\"|^\)]*)\'?\"?\)/g);
|
||||
matches = text.match(/url\(\'?\"?([^\'|^\"^\)]*)\'?\"?\)/g);
|
||||
|
||||
if(!_store) return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue