fixed emoji not showing in posts + improvements
This commit is contained in:
		
							parent
							
								
									e74b088e37
								
							
						
					
					
						commit
						5e92246eeb
					
				
					 1 changed files with 8 additions and 5 deletions
				
			
		|  | @ -20,7 +20,9 @@ | ||||||
|         </button> |         </button> | ||||||
|     {/if} |     {/if} | ||||||
|     {#if !post.warning || open_warned} |     {#if !post.warning || open_warned} | ||||||
|         {#if post.html} |         {#if post.rich_text} | ||||||
|  |             <span class="post-text">{@html post.rich_text}</span> | ||||||
|  |         {:else if post.html} | ||||||
|             <span class="post-text">{@html post.html}</span> |             <span class="post-text">{@html post.html}</span> | ||||||
|         {/if} |         {/if} | ||||||
|         {#if post.media && post.media.length > 0} |         {#if post.media && post.media.length > 0} | ||||||
|  | @ -88,10 +90,11 @@ | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     .post-text :global(.emoji) { |     .post-text :global(.emoji) { | ||||||
|         position: relative; |         transition: transform .1s ease-out; | ||||||
|         top: 6px; |     } | ||||||
|         margin-top: -10px; | 
 | ||||||
|         height: 24px!important; |     .post-text :global(.emoji):hover { | ||||||
|  |         transform: scale(1.2); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     .post-text :global(blockquote) { |     .post-text :global(blockquote) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue