mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fix(ui): Avoid the background invisible when selecting text with background color
This commit is contained in:
		| @@ -1222,6 +1222,10 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu { | ||||
|     background-color: inherit; | ||||
| } | ||||
|  | ||||
| ::selection { | ||||
|     background-color: var(--selection-background-color); | ||||
| } | ||||
|  | ||||
| [data-bs-toggle="tooltip"]:not(.button-widget) span { | ||||
|     padding-bottom: 0; | ||||
|     border-bottom: 1px dotted; | ||||
|   | ||||
| @@ -195,6 +195,8 @@ | ||||
|     --scrollbar-background-color: transparent; | ||||
|     --scrollbar-border-color: unset; /* Deprecated */ | ||||
|  | ||||
|     --selection-background-color: #3399FF70; | ||||
|      | ||||
|     --link-color: lightskyblue; | ||||
|  | ||||
|     --mermaid-theme: dark; | ||||
|   | ||||
| @@ -194,6 +194,8 @@ | ||||
|     --scrollbar-background-color: transparent; | ||||
|     --scrollbar-border-color: unset; /* Deprecated */ | ||||
|  | ||||
|     --selection-background-color: #3399FF70; | ||||
|  | ||||
|     --link-color: blue; | ||||
|  | ||||
|     --mermaid-theme: default; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user