2020-08-05 18:38:55 +02:00
|
|
|
/*
|
|
|
|
Copyright 2020 Bruno Windels <bruno@windels.cloud>
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2019-06-16 15:21:20 +02:00
|
|
|
|
|
|
|
.TimelinePanel ul {
|
|
|
|
overflow-y: auto;
|
2020-05-10 10:00:13 +02:00
|
|
|
overscroll-behavior: contain;
|
2019-06-16 15:21:20 +02:00
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.TimelinePanel li {
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-container {
|
|
|
|
flex: 0 1 auto;
|
2019-09-28 09:45:14 +02:00
|
|
|
/* first try break-all, then break-word, which isn't supported everywhere */
|
|
|
|
word-break: break-all;
|
2019-06-28 00:44:49 +02:00
|
|
|
word-break: break-word;
|
2019-06-16 15:21:20 +02:00
|
|
|
}
|
|
|
|
|
2020-08-12 16:47:07 +02:00
|
|
|
.message-container .sender {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-container a {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
max-width: 100%;
|
|
|
|
/* width and padding-top set inline to maintain aspect ratio,
|
|
|
|
replace with css aspect-ratio once supported */
|
|
|
|
}
|
|
|
|
|
2020-08-20 16:03:26 +02:00
|
|
|
.message-container img.picture {
|
2020-05-09 21:22:30 +02:00
|
|
|
display: block;
|
2020-08-12 16:47:07 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2020-05-10 11:56:05 +02:00
|
|
|
width: 100%;
|
2020-08-12 16:47:07 +02:00
|
|
|
height: 100%;
|
2020-05-09 21:22:30 +02:00
|
|
|
}
|
|
|
|
|
2019-06-16 15:21:20 +02:00
|
|
|
.TextMessageView {
|
|
|
|
display: flex;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.AnnouncementView {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-08-17 15:22:39 +02:00
|
|
|
|
|
|
|
.GapView {
|
|
|
|
visibility: hidden;
|
|
|
|
display: flex;
|
|
|
|
padding: 10px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.GapView.isLoading {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.GapView > div {
|
2020-09-11 11:28:59 +02:00
|
|
|
flex: 1 1 0;
|
2020-09-11 11:36:08 +02:00
|
|
|
margin-right: 10px;
|
2020-08-17 15:22:39 +02:00
|
|
|
}
|