wintercms / wn-tailwindui-plugin

Provides the TailwindUI-based modern backend skin for the Winter CMS backend
MIT License
15 stars 9 forks source link

class='icon-pencil' is broken #12

Closed AIC-BV closed 11 months ago

AIC-BV commented 2 years ago

A backend button with class icon-pencil doesn't render the icon, it renders a square with a cross in it image

<button
    class="btn btn-primary icon-pencil"
    data-request="<?= $this->getEventHandler('onEdit'); ?>"
    data-request-data="id: <?= $id; ?>"
    title="Edit">
</button>
LukeTowers commented 2 years ago

@AIC-BV does this occur with this plugin disabled?

AIC-BV commented 2 years ago

@LukeTowers When the plugin is disabled (removed from composer) the icon works perfectly fine!

LukeTowers commented 1 year ago

@AIC-BV is this still an issue?

AIC-BV commented 1 year ago

@LukeTowers Yes it is still broken

AIC-BV commented 1 year ago

But some more research in it, no idea why it is broken, it works in plugin.php so I guess its something in my code (although its working without tailwind UI plugin)

Appears as broken image <button class="btn btn-primary icon-pencil"></button>

Shows the trash icon <button class="btn btn-primary icon-trash"></button>

Changed to comment icon for now, which will do for my case, but there's something going on with the icons 🤔 <button class="btn btn-primary icon-comment"></button>

AIC-BV commented 11 months ago

Seems to be fine by now