mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	Wrap description text.
And remove v-html for channels.
This commit is contained in:
		
							parent
							
								
									9ae85f6207
								
							
						
					
					
						commit
						20ad39b327
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -4,7 +4,7 @@
 | 
				
			||||||
    <div v-if="channel" v-show="!channel.error">
 | 
					    <div v-if="channel" v-show="!channel.error">
 | 
				
			||||||
        <h1 class="uk-text-center"><img height="48" width="48" v-bind:src="channel.avatarUrl" />{{ channel.name }}</h1>
 | 
					        <h1 class="uk-text-center"><img height="48" width="48" v-bind:src="channel.avatarUrl" />{{ channel.name }}</h1>
 | 
				
			||||||
        <img v-if="channel.bannerUrl" v-bind:src="channel.bannerUrl" style="width: 100%" loading="lazy" />
 | 
					        <img v-if="channel.bannerUrl" v-bind:src="channel.bannerUrl" style="width: 100%" loading="lazy" />
 | 
				
			||||||
        <p v-html="purifyHTML(this.channel.description)" style="white-space: pre"></p>
 | 
					        <p style="white-space: pre-wrap">{{ channel.description }}</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <hr />
 | 
					        <hr />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@
 | 
				
			||||||
    <button uk-toggle="target: #stacktrace" class="uk-button uk-button-small" style="background: #222" type="button">
 | 
					    <button uk-toggle="target: #stacktrace" class="uk-button uk-button-small" style="background: #222" type="button">
 | 
				
			||||||
        Show More
 | 
					        Show More
 | 
				
			||||||
    </button>
 | 
					    </button>
 | 
				
			||||||
    <p id="stacktrace" style="white-space: pre" hidden>{{ error }}</p>
 | 
					    <p id="stacktrace" style="white-space: pre-wrap" hidden>{{ error }}</p>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue