Update bookmarklet.js

This commit is contained in:
Bengt Brodersen 2015-01-23 13:29:05 +01:00
parent 4056429645
commit 5fc9fc03de

View File

@ -372,7 +372,7 @@ function printOverlayStyle(){
.html(multilineString(function() { .html(multilineString(function() {
/*! /*!
#card-print-overlay { #card-print-overlay {
position: absolute; position: fixed;
height: 100%; height: 100%;
width: 100%; width: 100%;
top: 0; top: 0;
@ -382,19 +382,18 @@ function printOverlayStyle(){
box-sizing: border-box; box-sizing: border-box;
word-wrap:break-word; word-wrap:break-word;
z-index: 99999; z-index: 99999;
overflow-y: scroll;
} }
#card-print-dialog { #card-print-dialog {
position: relative; position: relative;
top: 100px; top: 60px;
right:0px; right:0px;
left:0px; left:0px;
height: auto; height: calc(100% - 120px);
width: 810px; width: 1000px;
margin: auto; margin: auto;
border-style: solid; border-style: solid;
@ -410,17 +409,25 @@ function printOverlayStyle(){
#card-print-dialog-header { #card-print-dialog-header {
position: relative; position: relative;
background: #f0f0f0; background: #f0f0f0;
height: 30px; height: 25px;
border-bottom: 1px solid #cccccc; border-bottom: 1px solid #cccccc;
padding: 15px; padding: 15px 20px 15px 20px;
} }
#card-print-dialog-content { #card-print-dialog-content {
position: relative; position: relative;
background: white; background: white;
height: 100px; height: calc(100% - 106px); + height: 100px;
width: 100%;
overflow-y: scroll;
}
#card-print-dialog-content-iframe {
position: relative;
height: 100%;
width: 100%; width: 100%;
border:none; border:none;
@ -430,6 +437,7 @@ function printOverlayStyle(){
position: relative; position: relative;
background: #f0f0f0; background: #f0f0f0;
border-top: 1px solid #cccccc; border-top: 1px solid #cccccc;
height: 30px;
padding: 10px; padding: 10px;
text-align: right; text-align: right;
} }