fix: <img> is flex's immediate child therefore it stretch to its parent width (#4173)
* fix: img is flex immediate child and renders in full width * chore: remove unnecesary use of flex
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-1 flex-col">
|
<div>
|
||||||
<div
|
<div
|
||||||
class="sticky top-lowerSecondaryStickyFold z-10 flex flex-shrink-0 items-center justify-between overflow-x-auto border-b border-dividerLight bg-primary pl-4"
|
class="sticky top-lowerSecondaryStickyFold z-10 flex flex-shrink-0 items-center justify-between overflow-x-auto border-b border-dividerLight bg-primary pl-4"
|
||||||
>
|
>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<img
|
<img
|
||||||
class="flex max-w-full border-b border-dividerLight"
|
class="max-w-full"
|
||||||
:src="imageSource"
|
:src="imageSource"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
:alt="imageSource"
|
:alt="imageSource"
|
||||||
|
|||||||
Reference in New Issue
Block a user