File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# comment-search-root {
2- margin-left : auto ;
2+ float : right ;
33}
44
55# comment-search-root button {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export default function App() {
1616 const promiseRef = useRef < Promise < Reply [ ] > | null > ( null )
1717
1818 return (
19- < div >
19+ < >
2020 < dialog
2121 ref = { dialogRef }
2222 onClick = { ( e ) => {
@@ -74,7 +74,7 @@ export default function App() {
7474 >
7575 搜索评论
7676 </ button >
77- </ div >
77+ </ >
7878 )
7979}
8080
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ function run() {
1212 return
1313 }
1414
15- const container = assertEl ( document . querySelector ( 'ul.nav-bar ' ) )
16- root = document . createElement ( 'li ' )
15+ const container = assertEl ( document . querySelector ( '#commentapp ' ) )
16+ root = document . createElement ( 'div ' )
1717 root . id = id
1818 container . append ( root )
1919
You can’t perform that action at this time.
0 commit comments