This commit is contained in:
moolcoov
2025-03-03 22:00:24 +03:00
parent 67cc475f59
commit afd65629fa
2 changed files with 2 additions and 2 deletions
@@ -2,7 +2,7 @@ import { User } from "@/shared/types/user";
export const UserInfo = ({ user }: { user: User }) => { export const UserInfo = ({ user }: { user: User }) => {
return ( 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 && ( {user.avatar && (
<div className="aspect-square h-auto w-full max-w-[300px] overflow-hidden rounded-full border"> <div className="aspect-square h-auto w-full max-w-[300px] overflow-hidden rounded-full border">
<img <img
@@ -163,7 +163,7 @@ const ReviewContent = ({ review }: { review: Review }) => {
<div className="flex flex-col gap-5"> <div className="flex flex-col gap-5">
<h2 className="text-3xl font-semibold">Ответ</h2> <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" ? ( {extension === "txt" ? (
content content
) : ( ) : (