Merge pull request #2883 from crazyserver/MOBILE-3320
MOBILE-3320 profile: Improvements on css
This commit is contained in:
		
						commit
						fd446458fe
					
				| @ -7,6 +7,7 @@ | ||||
|         core-user-avatar { | ||||
|             display: block; | ||||
|             --core-avatar-size: var(--core-large-avatar-size); | ||||
|             height: calc(var(--core-avatar-size) + 16px); | ||||
| 
 | ||||
|             img { | ||||
|                 margin: 8px auto; | ||||
| @ -15,19 +16,22 @@ | ||||
|             .contact-status { | ||||
|                 width: 24px !important; | ||||
|                 height: 24px !important; | ||||
|                 right: calc(50% - 12px -  var(--core-avatar-size) / 2) !important; | ||||
|             } | ||||
| 
 | ||||
|             .edit-avatar { | ||||
|                 position: absolute; | ||||
|                 right: -24px; | ||||
|                 right: calc(50% - 15px -  var(--core-avatar-size) / 2); | ||||
|                 bottom: -12px; | ||||
|                 --border-radius: 50%; | ||||
|                 --background: var(--ion-item-background); | ||||
| 
 | ||||
|                 :host-context([dir="rtl"]) & { | ||||
|                     left: 0; | ||||
|                     right: unset; | ||||
|                 } | ||||
|                 &::part(native) { | ||||
|                     border-radius: 50%; | ||||
|                     background: var(--ion-item-background); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user