twind icon indicating copy to clipboard operation
twind copied to clipboard

Wrong CSS outputs.

Open SalvadorLekan opened this issue 2 years ago • 2 comments

I'm using Twind in a $fresh project and I ran into this two issues on the first day of using TWind.

  1. grid-cols-[60px,1fr] generates grid-template-columns: 60px,1fr; instead of grid-template-columns: 60px 1fr;
  2. bg-[url('/logo.svg')] generates background-position: url(/logo.svg); instead of background-image: url(/logo.svg); The Twind shim comes from here

SalvadorLekan avatar Jul 02 '22 05:07 SalvadorLekan

I think that are known bugs. Could you try the next branch?

PS: I think grid-cols-[60px,1fr] should be grid-cols-[60px_1fr]

sastan avatar Jul 04 '22 12:07 sastan

I think that are known bugs. Could you try the next branch?

PS: I think grid-cols-[60px,1fr] should be grid-cols-[60px_1fr]

grid-cols-[60px_1fr] generates grid-template-columns: 60px_1fr;

is that a bug?

hanayashiki avatar Jul 30 '22 11:07 hanayashiki

These are issues in [email protected] and should all be fixed in twind@next.

If you can not use twind@next please re-open this issue...

sastan avatar Oct 04 '22 09:10 sastan