Merge branch 'dev' into 'staging'
fix: support See merge request frontend/admin!59
This commit is contained in:
commit
44d03b4e29
@ -1,13 +1,5 @@
|
|||||||
import {
|
import { Box, Typography, useMediaQuery, useTheme } from "@mui/material";
|
||||||
Box,
|
|
||||||
ButtonBase,
|
|
||||||
Link,
|
|
||||||
Typography,
|
|
||||||
useMediaQuery,
|
|
||||||
useTheme,
|
|
||||||
} from "@mui/material";
|
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import { useEffect } from "react";
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
unAuthenticated?: boolean;
|
unAuthenticated?: boolean;
|
||||||
@ -26,7 +18,6 @@ export default function ChatImage({
|
|||||||
const upMd = useMediaQuery(theme.breakpoints.up("md"));
|
const upMd = useMediaQuery(theme.breakpoints.up("md"));
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
@ -35,11 +26,16 @@ export default function ChatImage({
|
|||||||
padding: isSelf ? "0 8px 0 0" : "0 0 0 8px",
|
padding: isSelf ? "0 8px 0 0" : "0 0 0 8px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography sx={{
|
<Typography
|
||||||
fontSize: "12px",
|
sx={{
|
||||||
alignSelf: "end",
|
fontSize: "12px",
|
||||||
}}>
|
alignSelf: "end",
|
||||||
{new Date(createdAt).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}
|
}}
|
||||||
|
>
|
||||||
|
{new Date(createdAt).toLocaleTimeString([], {
|
||||||
|
hour: "2-digit",
|
||||||
|
minute: "2-digit",
|
||||||
|
})}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
@ -55,8 +51,10 @@ export default function ChatImage({
|
|||||||
<Box
|
<Box
|
||||||
component="video"
|
component="video"
|
||||||
sx={{
|
sx={{
|
||||||
|
pointerEvents: "auto",
|
||||||
height: "217px",
|
height: "217px",
|
||||||
width: "217px",
|
width: "auto",
|
||||||
|
minWidth: "217px",
|
||||||
}}
|
}}
|
||||||
controls
|
controls
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user