File tree Expand file tree Collapse file tree 7 files changed +379
-578
lines changed
components/printable/Image Expand file tree Collapse file tree 7 files changed +379
-578
lines changed Original file line number Diff line number Diff line change 11.image {
22 display : flex;
33 flex-direction : column;
4+ gap : var (--go-ui-width-separator-md );
45 margin : 0 ;
56 page-break-inside : avoid;
67
78 .img-element {
9+ flex-grow : 1 ;
10+ background-color : var (--go-ui-color-background );
811 width : 100% ;
912 min-height : 20mm ;
10- max-height : 140mm ;
13+ max-height : 120mm ;
14+ object-position : center center;
15+ object-fit : contain;
1116 }
1217
1318 .img-error {
14- width : 100% ;
15- min-height : 20mm ;
16- max-height : 140mm ;
1719 display : flex;
1820 align-items : center;
1921 justify-content : center;
20- color : var (--go-ui-color-text-light );
21- background-color : var (--go-ui-color-background );
2222 border : var (--go-ui-width-separator-thin ) solid var (--go-ui-color-separator );
23+ background-color : var (--go-ui-color-background );
24+ width : 100% ;
25+ min-height : 20mm ;
26+ max-height : 140mm ;
27+ color : var (--go-ui-color-text-light );
2328 }
2429
2530 & .errored {
2631 .img-element {
2732 visibility : hidden;
33+ height : 0 ;
2834 min-height : unset;
2935 max-height : unset;
30- height : 0 ;
3136 }
3237 }
3338
3439 .caption {
40+ flex-shrink : 0 ;
3541 background-color : var (--go-ui-color-background );
3642 padding : var (--go-ui-spacing-xs );
3743 }
Original file line number Diff line number Diff line change 8787 "focalPointContactHeading" : " IFRC focal point for the emergency" ,
8888 "mediaContactHeading" : " Media Contact" ,
8989 "imageLogoIFRCAlt" : " IFRC" ,
90- "imageFileAlt" : " image" ,
9190 "drefApplicationExportRisk" : " Risk" ,
9291 "drefApplicationExportMitigation" : " Mitigation action"
9392 }
Original file line number Diff line number Diff line change @@ -583,7 +583,7 @@ export function Component() {
583583 < img
584584 className = { styles . icon }
585585 src = { identifiedNeed . image_url }
586- alt = { strings . imageFileAlt }
586+ alt = ""
587587 />
588588 { identifiedNeed . title_display }
589589 </ Heading >
Original file line number Diff line number Diff line change 109109
110110 .other-actions-major-coordination-mechanism {
111111 grid-column : span 2 ;
112- padding : var (--go-ui-spacing-xs );
113112 background-color : var (--pdf-element-bg );
113+ padding : var (--go-ui-spacing-xs );
114114 gap : var (--go-ui-spacing-xs );
115115 }
116116
Original file line number Diff line number Diff line change 22 "namespace" : " drefFinalReportExport" ,
33 "strings" : {
44 "drefApplicationFormImageAlt" : " Image" ,
5+ "imageLogoIFRCAlt" : " IFRC" ,
56 "exportTitle" : " DREF Final Report" ,
67 "drefExportReference" : " Click here for reference" ,
8+ "downloadFinancialReport" : " Click here for the complete financial report" ,
79 "appealLabel" : " Appeal" ,
810 "countryLabel" : " Country" ,
911 "hazardLabel" : " Hazard" ,
5860 "riskAndSecuritySectionHeading" : " Risk and Security Considerations" ,
5961 "riskSecurityHeading" : " Please indicate about potential operation risk for this operations and mitigation actions" ,
6062 "riskLabel" : " Risk" ,
61- "mitigationLabel" : " Mitigation" ,
63+ "mitigationLabel" : " Mitigation action " ,
6264 "safetyConcernHeading" : " Please indicate any security and safety concerns for this operation" ,
63- "interventionSectionHeading" : " Planned Intervention " ,
65+ "interventionSectionHeading" : " Implementation " ,
6466 "targetedPersonsLabel" : " Targeted Persons" ,
6567 "assistedPersonsLabel" : " Assisted Persons" ,
6668 "budgetLabel" : " Budget" ,
You can’t perform that action at this time.
0 commit comments