Explorar o código

Add margin to all pagex except cover

Tatiana Inama %!s(int64=7) %!d(string=hai) anos
pai
achega
ac0334e179
Modificáronse 2 ficheiros con 10 adicións e 5 borrados
  1. 10 5
      css/main.css
  2. BIN=BIN
      pdf/vademecum-profesional-mobile.pdf

+ 10 - 5
css/main.css

@@ -391,10 +391,6 @@ p.product-short-desc {
     page-break-inside: avoid;
 }
 
-.product-container:not(:first-child()) {
-    padding-top: 1rem;
-}
-
 .product-container
 .row {
     margin-bottom: .5rem;
@@ -418,4 +414,13 @@ p.product-short-desc {
 
 .container {
     width: 90%;
-}
+}
+
+@page {
+    margin: 1rem 0;
+}
+
+@page :first {
+    margin: 0;
+}
+

BIN=BIN
pdf/vademecum-profesional-mobile.pdf