Answer the question
In order to leave comments, you need to log in
Why is the style only applied after a cache flush?
<div class="d-flex text-success">
<div>
<img src="/images/avatars/<?= $user->avatar ?>.jpg" class="h-100" alt="avatar">
</div>
<div class="text-left flex-grow-1 pl-1">
Страна
<div class="float-right"><?= $country->name ?></div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Most likely you meant it, then the problem is here:
.form {
position: absolute;
}
Remove the h-100 class from the img tag.
Or like this:
...
<img src="/images/avatars/<?= $user->avatar ?>.jpg" class="img-fluid" alt="avatar">
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question