Few changes to chat.
Changed the way the background is set on self sent messages and some styling. Fixed chat container not scrolling. Added 'go to bottom' button.
This commit is contained in:
@@ -1,9 +1,20 @@
|
||||
.root {
|
||||
position: relative;
|
||||
font-size: 0.9rem;
|
||||
padding: 5px;
|
||||
padding: 5px 15px 5px 5px;
|
||||
padding-left: 1rem;
|
||||
margin: 8px 5px;
|
||||
// animation: chatFadeIn .1s ease-in;
|
||||
.background {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: currentColor;
|
||||
opacity: 0.07;
|
||||
border-radius: .25rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.user {
|
||||
font: var(--theme-header-font-family);
|
||||
color: var(--color-owncast-grey-100);
|
||||
@@ -56,3 +67,14 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@keyframes chatFadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user