Open ycs77 opened 5 months ago
Now termwind can inherit width on two lines like:
https://github.com/nunomaduro/termwind/blob/9c030e68f200e039fb91182f407af60727e579fa/tests/render.php#L213-L222
But if add more than three lines, it will be missing after the last line space.
This unit test is failed:
$html = parse(<<<'HTML' <div class="w-10"> <div class="w-full bg-red">AAA</div> <div class="w-full bg-blue">BBB</div> <div class="w-full bg-yellow">CCC</div> </div> HTML); // this is expected expect($html)->toBe("<bg=red>AAA </>\n<bg=blue>BBB </>\n<bg=yellow>CCC </>"); // // this is actual // expect($html)->toBe("<bg=red>AAA </>\n<bg=blue>BBB </>\n<bg=yellow>CCC</>");
Now termwind can inherit width on two lines like:
https://github.com/nunomaduro/termwind/blob/9c030e68f200e039fb91182f407af60727e579fa/tests/render.php#L213-L222
But if add more than three lines, it will be missing after the last line space.
This unit test is failed: