forked from MapComplete/MapComplete
		
	Styling tweaks
This commit is contained in:
		
							parent
							
								
									3861c5c634
								
							
						
					
					
						commit
						952e3e2bc7
					
				
					 1 changed files with 6 additions and 5 deletions
				
			
		| 
						 | 
					@ -65,8 +65,8 @@ export default class AttributionPanel extends Combine {
 | 
				
			||||||
            ...Utils.NoNull(Array.from(layoutToUse.data.ExtractImages()))
 | 
					            ...Utils.NoNull(Array.from(layoutToUse.data.ExtractImages()))
 | 
				
			||||||
                .map(AttributionPanel.IconAttribution)
 | 
					                .map(AttributionPanel.IconAttribution)
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
        this.SetClass("flex flex-col link-underline")
 | 
					        this.SetClass("flex flex-col link-underline overflow-hidden")
 | 
				
			||||||
        this.SetStyle("max-width: calc(100vw - 5em); width: 40em;")
 | 
					        this.SetStyle("max-width: calc(100vw - 5em); width: 40rem;")
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private static CodeContributors(): BaseUIElement {
 | 
					    private static CodeContributors(): BaseUIElement {
 | 
				
			||||||
| 
						 | 
					@ -120,9 +120,10 @@ export default class AttributionPanel extends Combine {
 | 
				
			||||||
                            return new Link(sourceLinkContent, lnk, true);
 | 
					                            return new Link(sourceLinkContent, lnk, true);
 | 
				
			||||||
                        })
 | 
					                        })
 | 
				
			||||||
                    ]
 | 
					                    ]
 | 
				
			||||||
                ).SetClass("block")
 | 
					                ).SetClass("block m-2")
 | 
				
			||||||
            ]).SetClass("flex flex-col")
 | 
					                    
 | 
				
			||||||
        ]).SetClass("flex flex-wrap")
 | 
					            ]).SetClass("flex flex-col").SetStyle("width: calc(100% - 50px - 0.5em); min-width: 12rem;")
 | 
				
			||||||
 | 
					        ]).SetClass("flex flex-wrap border-b border-gray-300 m-2 border-box")
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private static GenerateLicenses() {
 | 
					    private static GenerateLicenses() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue