Display hovered filename over the metadata instead of pushing down.
Previously the expanding filename would push the metadata down and out of the card div. Now it displays on top.
This commit is contained in:
		
							parent
							
								
									62f36151c4
								
							
						
					
					
						commit
						928e64fe08
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		|  | @ -136,6 +136,7 @@ | ||||||
|     justify-self: start; |     justify-self: start; | ||||||
|     grid-area: filename; |     grid-area: filename; | ||||||
| 
 | 
 | ||||||
|  |     position: relative; | ||||||
|     overflow: hidden; |     overflow: hidden; | ||||||
| 
 | 
 | ||||||
|     min-width: 100%; |     min-width: 100%; | ||||||
|  | @ -157,6 +158,14 @@ | ||||||
| { | { | ||||||
|     overflow: visible; |     overflow: visible; | ||||||
|     max-height: none; |     max-height: none; | ||||||
|  | } | ||||||
|  | .photo_card_filename:hover a | ||||||
|  | { | ||||||
|  |     position: absolute; | ||||||
|  |     top: 0; | ||||||
|  |     left: 0; | ||||||
|  |     right: 0; | ||||||
|  |     background-color: inherit; | ||||||
|     z-index: 1; |     z-index: 1; | ||||||
| } | } | ||||||
| .photo_card_tags | .photo_card_tags | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue