mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix bottom margin/padding styling in tooltip
This commit is contained in:
		| @@ -85,7 +85,7 @@ async function getRenderedContent(note, options = {}) { | ||||
|         ); | ||||
|     } | ||||
|     else { | ||||
|         $renderedContent.append($("<em>Content of this note cannot be displayed in the book format</em>")); | ||||
|         $renderedContent.append($("<p><em>Content of this note cannot be displayed in the book format</em></p>")); | ||||
|     } | ||||
|  | ||||
|     $renderedContent.addClass(note.getCssClass()); | ||||
|   | ||||
| @@ -405,7 +405,7 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th | ||||
| } | ||||
|  | ||||
| .tooltip-inner { | ||||
|     padding: 15px 15px 0 15px; | ||||
|     padding: 15px; | ||||
|     background-color: var(--tooltip-background-color) !important; | ||||
|     border: 1px solid var(--main-border-color); | ||||
|     border-radius: 5px; | ||||
| @@ -415,6 +415,10 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th | ||||
|     box-shadow: 10px 10px 93px -25px #aaaaaa; | ||||
| } | ||||
|  | ||||
| .tooltip-inner p:last-of-type { | ||||
|     margin-bottom: 0; | ||||
| } | ||||
|  | ||||
| .rendered-note-attributes { | ||||
|     color: var(--muted-text-color); | ||||
|     margin-bottom: 7px; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user