Procházet zdrojové kódy

improved display printable cards

bach před 3 roky
rodič
revize
2d07379946

+ 10 - 10
web/themes/custom/materiotheme/assets/dist/main.css

@@ -2559,17 +2559,17 @@ body {
       display: inline-block;
       vertical-align: top;
       width: 49%; }
-      #printable-root-page > article .field--name-field-manufacturer .field__item,
-      #printable-root-page > article .field--name-field-distributor .field__item {
+      #printable-root-page > article .field--name-field-manufacturer .taxonomy-term,
+      #printable-root-page > article .field--name-field-distributor .taxonomy-term {
         padding-bottom: 0.5em; }
-      #printable-root-page > article .field--name-field-manufacturer .taxonomy-term > h2,
-      #printable-root-page > article .field--name-field-distributor .taxonomy-term > h2 {
-        margin: 0;
-        font-weight: 600;
-        font-size: 1em; }
-      #printable-root-page > article .field--name-field-manufacturer .taxonomy-term p,
-      #printable-root-page > article .field--name-field-distributor .taxonomy-term p {
-        margin: 0; }
+        #printable-root-page > article .field--name-field-manufacturer .taxonomy-term > h2,
+        #printable-root-page > article .field--name-field-distributor .taxonomy-term > h2 {
+          margin: 0;
+          font-weight: 600;
+          font-size: 1em; }
+        #printable-root-page > article .field--name-field-manufacturer .taxonomy-term p,
+        #printable-root-page > article .field--name-field-distributor .taxonomy-term p {
+          margin: 0; }
     #printable-root-page > article .field--name-field-materiau-images {
       margin-top: 1em;
       display: flex;

+ 10 - 10
web/themes/custom/materiotheme/assets/dist/print.css

@@ -49,17 +49,17 @@ body {
       display: inline-block;
       vertical-align: top;
       width: 49%; }
-      #printable-root-page > article .field--name-field-manufacturer .field__item,
-      #printable-root-page > article .field--name-field-distributor .field__item {
+      #printable-root-page > article .field--name-field-manufacturer .taxonomy-term,
+      #printable-root-page > article .field--name-field-distributor .taxonomy-term {
         padding-bottom: 0.5em; }
-      #printable-root-page > article .field--name-field-manufacturer .taxonomy-term > h2,
-      #printable-root-page > article .field--name-field-distributor .taxonomy-term > h2 {
-        margin: 0;
-        font-weight: 600;
-        font-size: 1em; }
-      #printable-root-page > article .field--name-field-manufacturer .taxonomy-term p,
-      #printable-root-page > article .field--name-field-distributor .taxonomy-term p {
-        margin: 0; }
+        #printable-root-page > article .field--name-field-manufacturer .taxonomy-term > h2,
+        #printable-root-page > article .field--name-field-distributor .taxonomy-term > h2 {
+          margin: 0;
+          font-weight: 600;
+          font-size: 1em; }
+        #printable-root-page > article .field--name-field-manufacturer .taxonomy-term p,
+        #printable-root-page > article .field--name-field-distributor .taxonomy-term p {
+          margin: 0; }
     #printable-root-page > article .field--name-field-materiau-images {
       margin-top: 1em;
       display: flex;

+ 1 - 3
web/themes/custom/materiotheme/assets/styles/print.scss

@@ -62,10 +62,8 @@ body{
       display: inline-block;
       vertical-align: top;
       width:49%;
-      .field__item{
-        padding-bottom: 0.5em;
-      }
       .taxonomy-term{
+        padding-bottom: 0.5em;
         >h2{
           margin:0;
           font-weight: 600;