mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
formatting + readme
This commit is contained in:
parent
e88e0408dc
commit
daf94fd99c
4 changed files with 9 additions and 4 deletions
5
src/plugins/findReply/README.md
Normal file
5
src/plugins/findReply/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# FindReply
|
||||
|
||||
Lets you jump to the replies to a message. Makes it easier to follow past conversations/Q&A's.
|
||||
|
||||
![](https://github.com/Vendicated/Vencord/assets/45801973/33f28cb1-349d-41ff-83e7-c265c8d3b0e2)
|
|
@ -56,7 +56,7 @@ export default function ReplyNavigator({ replies }: { replies: Message[]; }) {
|
|||
totalCount={replies.length}
|
||||
onPageChange={processPageChange}
|
||||
/>
|
||||
<ModalCloseButton className={"vc-findreply-close"} onClick={() => setVisible(false)}/>
|
||||
<ModalCloseButton className={"vc-findreply-close"} onClick={() => setVisible(false)} />
|
||||
</div>
|
||||
</ErrorBoundary>
|
||||
);
|
||||
|
|
|
@ -33,7 +33,7 @@ export const jumper: any = findByPropsLazy("jumpToMessage");
|
|||
const FindReplyIcon = () => {
|
||||
return <svg viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" width="18" height="18">
|
||||
<path
|
||||
d="M 7 3 L 7 11 C 7 11 7 12 6 12 L 5 12 C 4 12 4 12 4.983 13.115 L 8.164 17.036 C 9 18 9 18 9.844 17.018 L 12.991 13.277 C 14 12 14 12 13.006 11.985 L 12 12 C 12 12 11 12 11 11 L 11 3 C 11 2 11 2 10 2 L 8 2 C 7 2 7 2 7 3"/>
|
||||
d="M 7 3 L 7 11 C 7 11 7 12 6 12 L 5 12 C 4 12 4 12 4.983 13.115 L 8.164 17.036 C 9 18 9 18 9.844 17.018 L 12.991 13.277 C 14 12 14 12 13.006 11.985 L 12 12 C 12 12 11 12 11 11 L 11 3 C 11 2 11 2 10 2 L 8 2 C 7 2 7 2 7 3" />
|
||||
</svg>;
|
||||
};
|
||||
let root: Root | null = null;
|
||||
|
@ -103,7 +103,7 @@ export default definePlugin({
|
|||
document.querySelector("[class^=base_]")!.appendChild(element);
|
||||
root = ReactDOM.createRoot(element);
|
||||
}
|
||||
root!.render(<ReplyNavigator replies={replies}/>);
|
||||
root!.render(<ReplyNavigator replies={replies} />);
|
||||
}
|
||||
} else {
|
||||
Toasts.show({
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
.vc-findreply-close {
|
||||
align-items: inherit !important;
|
||||
line-height: 0 !important;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue