forked from MapComplete/MapComplete
		
	Merge pull request #159 from chrneumann/fix/layout-for-mobile
Fix message box layout for Firefox.
This commit is contained in:
		
						commit
						72a8847ac6
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		|  | @ -45,10 +45,13 @@ export class FullScreenMessageBox extends UIElement { | ||||||
|             return ""; |             return ""; | ||||||
|         } |         } | ||||||
|         this._content = State.state.fullScreenMessage.data; |         this._content = State.state.fullScreenMessage.data; | ||||||
|         const uielement = new Combine([this._content]).SetStyle( |         const innerWrap = new Combine([this._content]).SetStyle( | ||||||
|             "display:block;" + |             "display: block;" + | ||||||
|             "padding: 1em;" + |             "padding: 1em;" + | ||||||
|             "padding-bottom:6em;" + |             "padding-bottom: 6em; " | ||||||
|  |         ); | ||||||
|  |         const uielement = new Combine([innerWrap]).SetStyle( | ||||||
|  |             "display:block;" + | ||||||
|             `margin-bottom: var(--return-to-the-map-height);` + |             `margin-bottom: var(--return-to-the-map-height);` + | ||||||
|             "box-sizing:border-box;" + |             "box-sizing:border-box;" + | ||||||
|             `height:calc(100vh - var(--return-to-the-map-height));` + |             `height:calc(100vh - var(--return-to-the-map-height));` + | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue