fix msg container
This commit is contained in:
@@ -2,12 +2,15 @@
|
||||
:root {
|
||||
--header-height: 3em;
|
||||
--right-col-width: 24em;
|
||||
|
||||
--chat-bg-color: rgba(11,0,33,.95);
|
||||
--header-bg-color: rgba(20,0,40,1);
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
font-size: 14px;
|
||||
background-color: #ccc;
|
||||
background-color: #666;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 0px;
|
||||
@@ -29,7 +32,7 @@ header {
|
||||
height: var(--header-height);
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: rgba(20,0,40,1);
|
||||
background-color: var(--header-bg-color);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
@@ -77,13 +80,18 @@ header h1 {
|
||||
right: 0;
|
||||
height: 100%;
|
||||
width: var(--right-col-width);
|
||||
background-color: rgba(20,0,40,.5);
|
||||
height: calc(100vh - var(--header-height))
|
||||
background-color: var(--chat-bg-color);
|
||||
height: calc(100vh - var(--header-height));
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
#messages-container {
|
||||
overflow: auto;
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
#chat-input-container {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
border-top: 1px solid #eee;
|
||||
padding: 1em;
|
||||
|
||||
Reference in New Issue
Block a user