rogden / tailwind-config-viewer

A local UI tool for visualizing your Tailwind CSS configuration file.
2.01k stars 111 forks source link

Wrong class names of negative margins if the config has a prefix #82

Open cuongvuong-phoenix opened 1 year ago

cuongvuong-phoenix commented 1 year ago

If a prefix (e.g: tw) is configured, negative margin classes will be wrong, e.g: instead of -tw-m-1, it shows tw--m-1:

image

This might be a wrong prefix resolution, so I think there will be more classes being treated like this, not just negative margins.