mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-30 23:27:55 -05:00
Prevent content within markdown bios from leaking outside of the container
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.mdBio {
|
||||
clip-path: view-box;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -88,7 +88,7 @@ export function Widget({
|
||||
return widget.data.bio ? <article>{widget.data.bio}</article> : null;
|
||||
case "bio-md":
|
||||
return widget.data.bio ? (
|
||||
<article>
|
||||
<article className={styles.mdBio}>
|
||||
<Markdown>{widget.data.bio}</Markdown>
|
||||
</article>
|
||||
) : null;
|
||||
|
||||
5
changelog/2026-09-21-markdown-bio-leaks.md
Normal file
5
changelog/2026-09-21-markdown-bio-leaks.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
navItem: u
|
||||
type: bug
|
||||
---
|
||||
Prevent content within markdown bios on user pages from affecting the page outside of the bio container
|
||||
Reference in New Issue
Block a user