Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Problem
しかし、子コンポーネントのルートノードは、親スコープの CSS と子スコープの CSS の両方が影響を受けます。
However, a child component's root node will be affected by both the parent's scoped CSS and the child's scoped CSS.
デフォルトでスコープ付きスタイルは、親コンポーネントが所有しているコンテンツとみなして、<slot/> でレンダリングされたコンテンツに影響を与えません。
By default, scoped styles do not affect contents rendered by <slot/>, as they are considered to be owned by the parent component passing them in.
Proposed Solution
will be affected by
に基づき、「両方が影響を〜」ではなく「両方の影響を〜」に修正they are considered to
に基づき、「コンテンツとみなして」ではなく「コンテンツとみなされ」に修正rendered by <slot/>
についても、「レンダリングされた」を「レンダリングされる」と修正。rendered
は時制ではなく受け身の表現であると考えたためAdditional Information