fix: Update actions position if avatar image is unavailable (#2963)

This commit is contained in:
Pranav Raj S 2021-09-06 01:14:17 +05:30 committed by GitHub
parent 7fc575a474
commit 7b77bab18e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,9 @@
<template>
<header class="header-expanded bg-white py-8 px-6 relative box-border w-full">
<div class="flex justify-between items-start">
<div
class="flex items-start"
:class="[avatarUrl ? 'justify-between' : 'justify-end']"
>
<img v-if="avatarUrl" class="logo" :src="avatarUrl" />
<header-actions :show-popout-button="showPopoutButton" />
</div>