diff --git a/bookmarklet.js b/bookmarklet.js index 272dd52..55fcdf5 100644 --- a/bookmarklet.js +++ b/bookmarklet.js @@ -344,7 +344,7 @@ var style = document.createElement('style'); style.id = 'styleSingleCardPage'; style.type = 'text/css'; - style.innerHTML = ".card { page-break-after: always; float: none; margin-botom: 0.5cm}" + style.innerHTML = ".card { page-break-after: always; float: none; margin-bottom: 0.5cm}" jQuery("head", printDocument).append(style); } } diff --git a/card.css b/card.css index fde0b0f..b7a60cb 100644 --- a/card.css +++ b/card.css @@ -80,11 +80,11 @@ body { .card::after { overflow: visible; position: absolute; - top: -0.03rem; - left: -0.03rem; + top: -0.015rem; + left: -0.015rem; content: ""; - width: calc(100% - 0.03cm); - height: calc(100% - 0.03cm); + width: calc(100% - 0.015cm); + height: calc(100% - 0.015cm); border-color: LightGray; border-style: dashed; border-width: 0.03cm;