(feat): add reply box to messages
All checks were successful
/ build-web (push) Successful in 7m40s
/ build-desktop (linux) (push) Successful in 12m6s
/ build-mobile (push) Successful in 19m4s
/ release (push) Successful in 3m25s

(feat): update methanium ui
(fix): user data caching
(fix): other random stuff
(qol): update todo
This commit is contained in:
Alois 2026-07-30 23:01:42 +02:00
commit 6a5236bafe
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
32 changed files with 722 additions and 394 deletions

View file

@ -1,4 +1,4 @@
import { useMemo } from "react";
import { useMemo, type CSSProperties } from "react";
import {
ensureMarkdownStyles,
@ -8,6 +8,7 @@ import {
export type TextProps = {
value: string;
fontSize?: CSSProperties["fontSize"];
};
/**
@ -21,5 +22,9 @@ export default function Text(props: TextProps) {
const blocks = useMemo(() => parseMarkdownBlocks(props.value), [props.value]);
const renderedBlocks = useMemo(() => renderBlocks(blocks), [blocks]);
return <div className="tm-md-root">{renderedBlocks}</div>;
return (
<div className="tm-md-root" style={{ fontSize: props.fontSize }}>
{renderedBlocks}
</div>
);
}