Skip to content

fix: add tailwindcss config

Scott de Jonge requested to merge tailwind-config into main

What does this MR do?

While reviewing !3764 (merged) I didn't check gl-relative and gl-absolute etc. classes used in <search-box> and <vimeo-player>

These changes introduce tailwindcss, autoprefixer, and postcss using @nuxtjs/tailwindcss to resolve issue where gl-relative and gl-absolute etc. class did not have associated CSS styles due to tailwindcss not being configured to generate from gitlab-ui defaults

Screenshots

Before After
172.16.123.1_2018_brand-design_motion 172.16.123.1_2018_brand-design_motion__1_

Steps to reproduce

  1. View page with <vimeo-player> e.g. http://172.16.123.1:2018/brand-design/motion#iconography
  2. Use <search-box>, suggestions should be displayed in dropdown below <input>

Does this MR meet the acceptance criteria?

Links

Merge request reports