mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
chore: cleanup
This commit is contained in:
parent
fe89bedfcc
commit
c09d3dd5a7
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user