chore: cleanup
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
[data-slot="session-review-container"] {
|
||||
flex: 1 1 auto;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
[data-slot="session-review-header"] {
|
||||
@@ -40,7 +41,6 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
column-gap: 12px;
|
||||
padding-right: 1px;
|
||||
}
|
||||
|
||||
[data-slot="session-review-actions"] [data-component="radio-group"] {
|
||||
|
||||
@@ -37,10 +37,11 @@ function target(container: HTMLElement): Target | undefined {
|
||||
|
||||
const review = container.closest("[data-component='session-review']")
|
||||
if (review instanceof HTMLElement) {
|
||||
const root = scrollRoot(container) ?? review
|
||||
const content = review.querySelector("[data-slot='session-review-container']")
|
||||
return {
|
||||
key: review,
|
||||
root: review,
|
||||
root,
|
||||
content: content instanceof HTMLElement ? content : undefined,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user