fixed zIndex bug of bottom nav on eventTypes
This commit is contained in:
		
							parent
							
								
									7734664dbe
								
							
						
					
					
						commit
						72b24508f1
					
				
					 1 changed files with 30 additions and 30 deletions
				
			
		|  | @ -145,11 +145,6 @@ export default function Shell(props) { | |||
|             </div> | ||||
|             <div className="px-4 sm:px-6 md:px-8">{props.children}</div> | ||||
| 
 | ||||
|             {/* add padding to content for mobile navigation*/} | ||||
|             <div className="block md:hidden pt-12" /> | ||||
|           </div> | ||||
|         </main> | ||||
| 
 | ||||
|             {/* show bottom navigation for md and smaller (tablet and phones) */} | ||||
|             <nav className="md:hidden flex fixed bottom-0 bg-white w-full rounded-lg shadow"> | ||||
|               {/* note(PeerRich): using flatMap instead of map to remove settings from bottom nav */} | ||||
|  | @ -179,6 +174,11 @@ export default function Shell(props) { | |||
|                 ) | ||||
|               )} | ||||
|             </nav> | ||||
| 
 | ||||
|             {/* add padding to content for mobile navigation*/} | ||||
|             <div className="block md:hidden pt-12" /> | ||||
|           </div> | ||||
|         </main> | ||||
|       </div> | ||||
|     </div> | ||||
|   ) : null; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Peer Richelsen
						Peer Richelsen