mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	Make avatar images circular (#400)
This commit is contained in:
		
							parent
							
								
									86b96ae186
								
							
						
					
					
						commit
						a45b2b8380
					
				
					 4 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
    <ErrorHandler v-if="channel && channel.error" :message="channel.message" :error="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" class="uk-border-circle" v-bind:src="channel.avatarUrl" />{{ channel.name }}</h1>
 | 
			
		||||
        <img v-if="channel.bannerUrl" v-bind:src="channel.bannerUrl" style="width: 100%" loading="lazy" />
 | 
			
		||||
        <p style="white-space: pre-wrap"><span v-html="purifyHTML(urlify(channel.description))"></span></p>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,13 +3,13 @@
 | 
			
		|||
 | 
			
		||||
    <div v-if="playlist" v-show="!playlist.error">
 | 
			
		||||
        <h1 class="uk-text-center">
 | 
			
		||||
            <img v-bind:src="playlist.avatarUrl" height="48" width="48" loading="lazy" />
 | 
			
		||||
            <img v-bind:src="playlist.avatarUrl" height="48" width="48" loading="lazy"/>
 | 
			
		||||
            {{ playlist.name }}
 | 
			
		||||
        </h1>
 | 
			
		||||
 | 
			
		||||
        <b
 | 
			
		||||
            ><router-link class="uk-text-justify" v-bind:to="playlist.uploaderUrl || '/'">
 | 
			
		||||
                <img v-bind:src="playlist.uploaderAvatar" loading="lazy" />
 | 
			
		||||
                <img v-bind:src="playlist.uploaderAvatar" loading="lazy" class="uk-border-circle" />
 | 
			
		||||
                {{ playlist.uploader }}</router-link
 | 
			
		||||
            ></b
 | 
			
		||||
        >
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,7 +14,7 @@
 | 
			
		|||
    <div :key="subscription.url" v-for="subscription in subscriptions">
 | 
			
		||||
        <div class="uk-text-primary" :style="[{ background: backgroundColor }]">
 | 
			
		||||
            <a :href="subscription.url">
 | 
			
		||||
                <img :src="subscription.avatar" class="uk-margin-small-right" width="50" height="50" />
 | 
			
		||||
                <img :src="subscription.avatar" class="uk-margin-small-right uk-border-circle" width="50" height="50" />
 | 
			
		||||
                <span class="uk-text-truncate">{{ subscription.name }}</span>
 | 
			
		||||
            </a>
 | 
			
		||||
            <button
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,7 +56,7 @@
 | 
			
		|||
            </div>
 | 
			
		||||
 | 
			
		||||
            <div class="uk-flex uk-flex-middle uk-margin-small-top">
 | 
			
		||||
                <img :src="video.uploaderAvatar" loading="lazy" />
 | 
			
		||||
                <img :src="video.uploaderAvatar" loading="lazy" class="uk-border-circle" />
 | 
			
		||||
                <router-link class="uk-text-bold uk-margin-small-left" v-if="video.uploaderUrl" :to="video.uploaderUrl">
 | 
			
		||||
                    <a>{{ video.uploader }}</a>
 | 
			
		||||
                </router-link>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue