forked from MapComplete/MapComplete
		
	UI: place scalebar under search field
This commit is contained in:
		
							parent
							
								
									4b05acf338
								
							
						
					
					
						commit
						ea2a49d6cd
					
				
					 4 changed files with 37 additions and 10 deletions
				
			
		|  | @ -1462,6 +1462,10 @@ input[type="range"].range-lg::-moz-range-thumb { | ||||||
|   margin-right: 4rem; |   margin-right: 4rem; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .mb-4 { | ||||||
|  |   margin-bottom: 1rem; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| .mt-4 { | .mt-4 { | ||||||
|   margin-top: 1rem; |   margin-top: 1rem; | ||||||
| } | } | ||||||
|  | @ -1478,10 +1482,6 @@ input[type="range"].range-lg::-moz-range-thumb { | ||||||
|   margin-bottom: 4rem; |   margin-bottom: 4rem; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .mb-4 { |  | ||||||
|   margin-bottom: 1rem; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .ml-1 { | .ml-1 { | ||||||
|   margin-left: 0.25rem; |   margin-left: 0.25rem; | ||||||
| } | } | ||||||
|  | @ -1698,14 +1698,14 @@ input[type="range"].range-lg::-moz-range-thumb { | ||||||
|   height: 6rem; |   height: 6rem; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .h-full { |  | ||||||
|   height: 100%; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .h-screen { | .h-screen { | ||||||
|   height: 100vh; |   height: 100vh; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .h-full { | ||||||
|  |   height: 100%; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| .h-fit { | .h-fit { | ||||||
|   height: -webkit-fit-content; |   height: -webkit-fit-content; | ||||||
|   height: -moz-fit-content; |   height: -moz-fit-content; | ||||||
|  | @ -4016,6 +4016,10 @@ input[type="range"].range-lg::-moz-range-thumb { | ||||||
|   padding-right: 0.25rem; |   padding-right: 0.25rem; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .pb-4 { | ||||||
|  |   padding-bottom: 1rem; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| .pt-0\.5 { | .pt-0\.5 { | ||||||
|   padding-top: 0.125rem; |   padding-top: 0.125rem; | ||||||
| } | } | ||||||
|  | @ -5628,6 +5632,18 @@ svg.apply-fill path { | ||||||
|   max-width: 100vw; |   max-width: 100vw; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .z-4 { | ||||||
|  |   z-index: 4; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .z-3 { | ||||||
|  |   z-index: 3; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .z-5 { | ||||||
|  |   z-index: 5; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| /************************* Experimental support for foldable devices ********************************/ | /************************* Experimental support for foldable devices ********************************/ | ||||||
| 
 | 
 | ||||||
| @media (horizontal-viewport-segments: 2) { | @media (horizontal-viewport-segments: 2) { | ||||||
|  |  | ||||||
|  | @ -26,7 +26,7 @@ | ||||||
| <Drawer placement="right" | <Drawer placement="right" | ||||||
|         transitionType="fly" {transitionParams} |         transitionType="fly" {transitionParams} | ||||||
|         activateClickOutside={false} |         activateClickOutside={false} | ||||||
|         divClass="overflow-y-auto" |         divClass="overflow-y-auto z-3" | ||||||
|         backdrop={false} |         backdrop={false} | ||||||
|         id="drawer-right" |         id="drawer-right" | ||||||
|         width="w-full sm:w-80 md:w-96" |         width="w-full sm:w-80 md:w-96" | ||||||
|  |  | ||||||
|  | @ -327,7 +327,7 @@ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|   <!-- Top components --> |   <!-- Top components --> | ||||||
|   <div class="pointer-events-none absolute top-0 left-0 w-full"> |   <div class="pointer-events-none absolute top-0 left-0 w-full z-4"> | ||||||
| 
 | 
 | ||||||
|     <div |     <div | ||||||
|       id="top-bar" |       id="top-bar" | ||||||
|  |  | ||||||
|  | @ -671,6 +671,17 @@ svg.apply-fill path { | ||||||
|     max-width: 100vw; |     max-width: 100vw; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .z-4 { | ||||||
|  |     z-index: 4; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .z-3 { | ||||||
|  |     z-index: 3; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .z-5 { | ||||||
|  |     z-index: 5; | ||||||
|  | } | ||||||
| /************************* Experimental support for foldable devices ********************************/ | /************************* Experimental support for foldable devices ********************************/ | ||||||
| @media (horizontal-viewport-segments: 2) { | @media (horizontal-viewport-segments: 2) { | ||||||
|     .theme-list { |     .theme-list { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue