-
Notifications
You must be signed in to change notification settings - Fork 918
update ja docs #870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update ja docs #870
Conversation
docs/ja/features/scoped-css.md
Outdated
@@ -50,7 +50,7 @@ | |||
|
|||
5. **再帰されたコンポーネントの子孫セレクタには気をつけてください!** セレクタ `.a .b` を持つ CSS ルールの場合、`.a` にマッチする要素に再帰的な子コンポーネントが含まれている場合、その子コンポーネントのすべての `.b` はルールにマッチします。 | |||
|
|||
6. If you need nested selectors in `scoped` styles, you will have to use `>>>` operator for CSS and `/deep/` for `scss`: | |||
6. `scoped` スタイルでセレクタが必要なら、CSS に対して `>>>` オペレータを、そして `scss` に対しては `/deep/` を使用する必要があります: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you need nested selectors
なので、
入れ子のセレクタが必要なら
ですかね?
@@ -69,7 +69,7 @@ scss: generateLoaders('sass').concat( | |||
), | |||
``` | |||
|
|||
It is recommended to only include variables, mixins, etc. in this file, to prevent duplicated css in your final, compiled files. | |||
最終的にコンパイルされたファイルに css が重複しないように、変数、ミックスインなどをこのファイルに含めることをお勧めします。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only include なので、「変数、ミックスインなどのみを」が良いかと思います。
@ktsn レビューありがとうございます!指摘箇所修正したので、お願いします! 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙆
/ping @ktsn