kopia lustrzana https://github.com/nextcloud/social
				
				
				
			Wraps profile-info-sections (posts/following/followers) when space is short
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>pull/692/head
							rodzic
							
								
									f6d0ff756b
								
							
						
					
					
						commit
						abb87325e6
					
				| 
						 | 
				
			
			@ -22,7 +22,7 @@
 | 
			
		|||
 | 
			
		||||
<template>
 | 
			
		||||
	<div v-if="account && accountInfo" class="user-profile">
 | 
			
		||||
		<div class="user-profile--info">
 | 
			
		||||
		<div>
 | 
			
		||||
			<avatar v-if="accountInfo.local" :user="uid" :disable-tooltip="true"
 | 
			
		||||
				:size="128" />
 | 
			
		||||
			<avatar v-else :url="avatarUrl" :disable-tooltip="true"
 | 
			
		||||
| 
						 | 
				
			
			@ -62,6 +62,8 @@
 | 
			
		|||
<style scoped>
 | 
			
		||||
	.user-profile {
 | 
			
		||||
		display: flex;
 | 
			
		||||
		flex-wrap: wrap;
 | 
			
		||||
		justify-content: space-between;
 | 
			
		||||
		width: 100%;
 | 
			
		||||
		text-align: center;
 | 
			
		||||
		padding-top: 20px;
 | 
			
		||||
| 
						 | 
				
			
			@ -72,11 +74,7 @@
 | 
			
		|||
		margin-bottom: 5px;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	.user-profile--info {
 | 
			
		||||
		width: 40%;
 | 
			
		||||
	}
 | 
			
		||||
	.user-profile--sections {
 | 
			
		||||
		width: 60%;
 | 
			
		||||
		display: flex;
 | 
			
		||||
		margin-bottom: 30px;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue