Fixed up some messaging layout issues. BOD-78

This commit is contained in:
Patrick Fic
2020-07-14 17:26:22 -07:00
parent 2eb8360f5d
commit 5d1876e277
18 changed files with 222 additions and 178 deletions

View File

@@ -1,5 +1,5 @@
import { ShrinkOutlined } from "@ant-design/icons";
import { Col, Row } from "antd";
import { Col, Row, Typography } from "antd";
import React from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
@@ -25,15 +25,13 @@ export function ChatPopupComponent({
const { t } = useTranslation();
return (
<div className="chat-popup">
<div style={{ overflow: "auto" }}>
<strong style={{ float: "left" }}>
{t("messaging.labels.messaging")}
</strong>
<ShrinkOutlined
onClick={() => toggleChatVisible()}
style={{ float: "right" }}
/>
</div>
<Typography.Title level={4}>
{t("messaging.labels.messaging")}
</Typography.Title>
<ShrinkOutlined
onClick={() => toggleChatVisible()}
style={{ position: "absolute", right: ".5rem", top: ".5rem" }}
/>
<Row className="chat-popup-content">
<Col span={8}>

View File

@@ -1,8 +1,11 @@
.chat-popup {
width: 40vw;
height: 50vh;
display: flex;
flex-direction: column;
}
.chat-popup-content {
height: 100%;
//height: 50vh;
flex: 1;
}