Add a clear button to the clipboard tray.
This commit is contained in:
		
							parent
							
								
									c37b54b456
								
							
						
					
					
						commit
						984f6eb3c7
					
				
					 2 changed files with 12 additions and 2 deletions
				
			
		|  | @ -8,7 +8,7 @@ | |||
|     bottom: 8px; | ||||
|     z-index: 10; | ||||
| 
 | ||||
|     max-height: 80%; | ||||
|     max-height: 50%; | ||||
|     min-width: 150px; | ||||
|     padding: 2px; | ||||
| 
 | ||||
|  | @ -29,3 +29,9 @@ | |||
|     display: flex; | ||||
|     flex-direction: column; | ||||
| } | ||||
| #clipboard_tray_toolbox_firstline | ||||
| { | ||||
|     display: flex; | ||||
|     justify-content: space-between; | ||||
|     align-items: center; | ||||
| } | ||||
|  |  | |||
|  | @ -7,7 +7,11 @@ | |||
|     >Clipboard: <span class="clipboard_count">0</span> items</button> | ||||
|     <div id="clipboard_tray_body" class="hidden"> | ||||
|         <div id="clipboard_tray_toolbox"> | ||||
|             <span id="clipboard_tray_toolbox_firstline"> | ||||
|                 <a target="_blank" href="/clipboard">Full clipboard</a> | ||||
|                 <button id="clear_clipboard_button" class="red_button" onclick="clear_photo_clipboard()">Clear</button> | ||||
|             </span> | ||||
|             <!-- More elements can be added here by the page. --> | ||||
|         </div> | ||||
|         <div id="clipboard_tray_lines"> | ||||
|         </div> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue