fixed header in print template
This commit is contained in:
Родитель
59e8c4908c
Коммит
92a165e762
|
@ -2257,7 +2257,7 @@ module TDev {
|
|||
+ "<title>" + Util.htmlEscape(title) + "</title>"
|
||||
+ "<meta name='microsoft' content='notranslateclasses stmt keyword'/>"
|
||||
+ "</head><body onload='try { window.print(); } catch(ex) {}'>"
|
||||
+ "<div><img src='" + HTML.proxyResource("https://az31353.vo.msecnd.net/c04/uxoj.png") + "' alt='TouchDevelop by Microsoft Research'></div>"
|
||||
+ (Cloud.config.printHeaderHtml || ("<div><img src='" + HTML.proxyResource("https://az31353.vo.msecnd.net/c04/uxoj.png") + "' alt='" + lf("TouchDevelop by Microsoft Research") + "'></div>"))
|
||||
+ text
|
||||
+ "</body></html>");
|
||||
w.document.close();
|
||||
|
|
|
@ -1113,7 +1113,7 @@ module TDev
|
|||
".md-box, .md-box-landscape, .md-box-portrait { margin-left: 2em; margin-bottom:0.5em; border: 1px solid #555; border-left-width: 0.5em; padding: 1em; }\n" +
|
||||
".md-box-avatar { margin-bottom:0.5em; } .md-box-avatar-img { width:4em; display:inline-block; vertical-align:top;} .phone .md-box-avatar-img { width:3em; } .md-box-avatar-body { position:relative; padding:0em 0.5em 0em 0.5em; color:#000; background:#eeeeee; margin-left:1.5em; display:inline-block; width: calc(100% - 7em); } .phone .md-box-avatar-body { width: calc(100% - 6em); } .md-box-avatar-body:after { top: 1.1em; left: -1.5em; bottom: auto; border-width: 0px 1.5em 0.7em 0; border-color: transparent #eeeeee; content: ''; position: absolute; border-style: solid; display: block; width: 0; }\n"+
|
||||
".md-box-screen { display:none; }\n" +
|
||||
".md-box-card { border: solid 0.05em black; background: inherit; margin-left:inherit; min-height:4em;}\n" +
|
||||
".md-box-card { border: solid 1px black; background: inherit; margin-left:inherit; min-height:4em;}\n" +
|
||||
"a { color:black; }\n" +
|
||||
"a.md-api-entry-link, .api-kind a { text-decoration: none; }\n" +
|
||||
".api-desc { color: black; font-size: 0.8em; }\n" +
|
||||
|
|
|
@ -4959,7 +4959,7 @@ height: 2.2em;
|
|||
.md-box-screen { /* not visible in print mode */
|
||||
}
|
||||
.md-box-card {
|
||||
border: solid 0.05em black;
|
||||
border: solid 1px black;
|
||||
background: inherit;
|
||||
margin-left:inherit;
|
||||
min-height:4em;
|
||||
|
|
Загрузка…
Ссылка в новой задаче