@@ -95,8 +95,8 @@ body {
}
.MessageInput {
- max-height: 135px;
- min-height: 135px;
+ max-height: 110px;
+ min-height: 110px;
background-color: darkslategray;
@@ -193,7 +193,7 @@ const Messages = ({ _id = "", chatInfo, messages, getMsg }) => {
)}
</div>
</Link>
- <div className="fs-4 fw-bolder ms-2">{`${title}`}</div>
+ <div className="fs-5 fw-bolder ms-2">{`${title}`}</div>
{/* <span className="position-absolute bottom-0 end-0 badge rounded-pill bg-secondary"> */}
<span className="position-absolute bottom-0 end-0 rounded-pill bg-success">
@@ -21,7 +21,7 @@ const LoginForm = ({ onLogin = null, onRegistration = null, isLoggedIn, mode = "
//FIXME: надо засунуть router в redux
if (store.getState().auth && store.getState().auth.login && localStorage.authToken) {
- history.push(`/main/${store.getState().auth.payloadId}`);
+ history.push(`/main`);
const clearHooks = () => {
@@ -15,7 +15,7 @@ const LoginForm = ({ onLogin = null, isLoggedIn, mode = "Login" }) => {
return (
@@ -121,7 +121,7 @@ const PageMain = ({
<Sidebar />
- <div className="col-md-8">
+ <div className="col-md-8 border border-3 rounded-3 shadow bg-gradient-light p-2">
<div className="pageMain_ChatMessages mb-2">
<div className="maxWidthForMsg">
<ChatMessages _chatId={_chatId} />