I seem to be having trouble identifying an issue or perhaps I am misunderstanding something (I am using daisyui + nx + tailwind css + angular). To simplify my problem, let's consider the following scenarios:
- In the first scenario, I have:
<div class="flex flex-row">
<div class="btn btn-primary w-1/2"></div>
<app-home-side-bar></app-home-side-bar>
</div>
where the side-bar component is:
<div class="btn btn-primary w-1/2"></div>
This produces the following result: https://i.stack.imgur.com/LOmUZ.png
However,
- In this other scenario, everything is in one place:
<div class="flex flex-row">
<div class="btn btn-primary w-1/2"></div>
<div class="btn btn-primary w-1/2"></div>
</div>
Which should result in: https://i.stack.imgur.com/wlDSf.png
The question arises as to why the included component ignores the 50% width parameter?