mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 15:51:43 +00:00
fix(svelte): Properly scope global CSS selector (#63332)
The tags page contains a `:global` selector at the root level, which affects all elements that match the selector, even those not part of the page. `:global` selectors always need to be scoped one way or the other. ## Test plan Code inspection, trivial change.
This commit is contained in:
parent
b7dd61769c
commit
29e07b7f6a
@ -100,6 +100,12 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
form,
|
||||
div,
|
||||
:global([data-scroller]) {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
form {
|
||||
@ -111,12 +117,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
form,
|
||||
div,
|
||||
:global([data-scroller]) {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
form,
|
||||
div,
|
||||
table {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user