Zone Lookup Instant App - How to format the export to PDF option?

2713
11
Jump to solution
01-31-2022 05:50 AM
SSMGroup
Occasional Contributor

I'm using the Zone Lookup Instant App.  I've taken it off the simple configuration set up so I have more control.  I want to use the "export results to PDF" option for exactly that.  However it formats the list of items within the zone to maybe 1/4 - 1/3 of the total width of the page.  AKA it's a waste of space and not even useful at the current formatting.  See image below for reference

Is there a way for format this PDF? It's just unusable in the current format. 

0 Kudos
11 Replies
KellyHutchins
Esri Frequent Contributor

Give this custom css a try: 


@media print{ 
    .column-6, .column-12 {     
        max-width:100vw; 
     } 
     calcite-accordion .solo-section > .feature-group-container h2.esri-widget__heading{
         padding:0;
         background:#fff;
     }
     .feature-group{
         border:none;
         padding:0;
     }
     .feature-group-container{
         display:inline-flex;
         margin:5px 5px;
         padding-bottom:1px;
         width:fit-content;
     }
     .esri-feature__content-element{
         padding:10px;
     }
     .toggle-panel{
         display:none;
     }
     .esri-widget, .esri-widget__table{
         line-height: normal;
     }
     .esri-widget__heading{
         margin:1px;
     }
     .esri-widget__table tr td, .esri-widget__table tr th{
         padding:3px 1px;
     }

.feature-group {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.esri-feature{
    width:fit-content;
    padding:0.5em;
}
}
SSMGroup
Occasional Contributor

Thank you so so much Kelly!!! That saved soooo much space!

 

0 Kudos