HideAttachments: fix broken css (#1707)
This commit is contained in:
		
							parent
							
								
									a4cadc03d8
								
							
						
					
					
						commit
						77bfaf38a5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -72,7 +72,7 @@ export default definePlugin({ | ||||||
|     async buildCss() { |     async buildCss() { | ||||||
|         const elements = [...hiddenMessages].map(id => `#message-accessories-${id}`).join(","); |         const elements = [...hiddenMessages].map(id => `#message-accessories-${id}`).join(","); | ||||||
|         style.textContent = ` |         style.textContent = ` | ||||||
|         :is(${elements}) :is([class*="embedWrapper", [class*"clickableSticker"]) { |         :is(${elements}) :is([class*="embedWrapper"], [class*="clickableSticker"]) { | ||||||
|             /* important is not necessary, but add it to make sure bad themes won't break it */ |             /* important is not necessary, but add it to make sure bad themes won't break it */ | ||||||
|             display: none !important; |             display: none !important; | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue