This commit is contained in:
rngsurrounded
2025-03-04 05:32:47 +09:00
7 changed files with 819 additions and 13 deletions
@@ -2,7 +2,7 @@ import { User } from "@/shared/types/user";
export const UserInfo = ({ user }: { user: User }) => {
return (
<section className="flex flex-1 flex-col items-center gap-6 text-center md:max-w-[420px] md:items-start md:text-ellipsis">
<section className="flex flex-1 flex-col items-center gap-6 text-center md:max-w-[420px] md:items-start md:text-left md:text-ellipsis">
{user.avatar && (
<div className="aspect-square h-auto w-full max-w-[300px] overflow-hidden rounded-full border">
<img
@@ -163,7 +163,7 @@ const ReviewContent = ({ review }: { review: Review }) => {
<div className="flex flex-col gap-5">
<h2 className="text-3xl font-semibold">Ответ</h2>
<div className="bg-background rounded-xl px-5 py-3 text-lg">
<div className="bg-background rounded-xl px-5 py-3 text-lg break-words">
{extension === "txt" ? (
content
) : (