|
|
|
@@ -1,5 +1,6 @@ |
|
|
|
import { Box } from "@mui/material"; |
|
|
|
import styled from "styled-components"; |
|
|
|
import exchangeStatus from "../../../constants/exchangeStatus"; |
|
|
|
import selectedTheme from "../../../themes"; |
|
|
|
|
|
|
|
export const DirectChatContentContainer = styled(Box)` |
|
|
|
@@ -14,7 +15,11 @@ export const MessagesList = styled(Box)` |
|
|
|
padding: 18px 36px; |
|
|
|
position: relative; |
|
|
|
max-height: 425px; |
|
|
|
height: 425px; |
|
|
|
height: ${(props) => |
|
|
|
props.exchangeState === exchangeStatus.ACCEPTED || |
|
|
|
props.exchangeState === exchangeStatus.I_OFFERED |
|
|
|
? "385px" |
|
|
|
: "425px"}; |
|
|
|
overflow-y: auto; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |