Fix logo to make it work with all sizes (#12)

This commit is contained in:
Chirag 2022-10-16 22:57:37 +05:30 committed by GitHub
parent 36e038a23b
commit 993bab7cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
> >
<img alt="Logo Picture" :src="coverPictureSrc(form.logo_picture)" <img alt="Logo Picture" :src="coverPictureSrc(form.logo_picture)"
:class="{'top-5':!form.cover_picture, '-top-10':form.cover_picture}" :class="{'top-5':!form.cover_picture, '-top-10':form.cover_picture}"
class="w-20 h-20 absolute left-5 transition-all" class="w-20 h-20 object-contain absolute left-5 transition-all"
> >
</div> </div>
</div> </div>

View File

@ -11,7 +11,7 @@
> >
<img alt="Logo Picture" :src="form.logo_picture" <img alt="Logo Picture" :src="form.logo_picture"
:class="{'top-5':!form.cover_picture, '-top-10':form.cover_picture}" :class="{'top-5':!form.cover_picture, '-top-10':form.cover_picture}"
class="w-20 h-20 absolute left-5 transition-all" class="w-20 h-20 object-contain absolute left-5 transition-all"
> >
</div> </div>
</div> </div>