ember-learn / ember-learn/ember-cli-addon-docs

Tailwind global style pollution

オープン
#295 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
172
フォーク
142
PR マージ指標
30日以内にマージされた PR はありません

説明

I searched through the issues and noticed there was some work to prefix the Tailwind styles to avoid collisions, but it seems like there is still a global reset that is unprefixed. From my vendor.css:

![image](https://user-images.githubusercontent.com/707213/50729417-760be100-10f6-11e9-89d3-8abcd461b1e9.png)

I'm hoping to use addon-docs as a poor-mans styleguide among other things, and the differences between the consuming app and the addon docs due to these kinds of global styles makes that more difficult.

Unfortunately I don't have bandwidth at the moment to investigate a fix, but I'll try to circle back if I'm able.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、Tailwind のスタイルが vendor.css にどのようにバンドルされているかを追跡し、プレフィックス付きのルールと、レポートに示されている残りのグローバルリセットを比較します。そのリセットの出所を特定し、Tailwind のスタイリングが引き続き機能する一方で、addon-docs のスタイルが consuming-app の要素を変更しなくなっていることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
tailwindcss
領域
frontend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。