nunomaduro / termwind

🍃 In short, it's like Tailwind CSS, but for the PHP command-line applications.
MIT License
2.27k stars 76 forks source link

fix: `flex-1` with over `COLUMN` size content. #142

Closed xiCO2k closed 2 years ago

xiCO2k commented 2 years ago

This PR fixes an issue when using flex-1 with siblings with over COLUMN size.

render(<<<HTML
    <div class="flex mx-2">
        <span>
            Issue?
        </span>
        <span class="flex-1 content-repeat-[.] text-gray mx-1"></span>
        <span>
            The goal of this package is to have the closest experience that is available with the Laravel Localization but for the frontend side. The goal of this package is to have the closest experience that is available with the Laravel Localization but for the frontend side.
        </span>
    </div>
HTML);

Before

image

After

image