Skip to content

Add Tailwind styles to ViewComponents Renderer

What does this MR do and why?

The Tailwind CSS / GitLab UI styles are missing in the Lookbook Preview http://gdk.test:3000/rails/lookbook/inspect/pajamas/spinner/default. This MR adds the stylesheet import.

Screenshots or screen recordings

Before After
Screenshot_2024-07-25_at_10.20.10 Screenshot_2024-07-25_at_10.19.04
Screenshot_2024-07-25_at_10.16.24 Screenshot_2024-07-25_at_10.03.31

How to set up and validate locally

Go to the Lookbook components preview, e.g.: http://gdk.test:3000/rails/lookbook/inspect/pajamas/spinner/default and check for the import of Util CSS Classes.

Related to #474276 (closed)

Edited by Vanessa Otto

Merge request reports

Loading