prepare styles to have other images (like avatar) in timeline

This commit is contained in:
Bruno Windels 2020-08-20 16:03:26 +02:00
parent 5d0ee21267
commit 225d46fad6
2 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,7 @@ limitations under the License.
replace with css aspect-ratio once supported */
}
.message-container img {
.message-container img.picture {
display: block;
position: absolute;
top: 0;

View File

@ -22,6 +22,7 @@ export class ImageView extends TemplateView {
// replace with css aspect-ratio once supported
const heightRatioPercent = (vm.thumbnailHeight / vm.thumbnailWidth) * 100;
const image = t.img({
className: "picture",
src: vm.thumbnailUrl,
width: vm.thumbnailWidth,
height: vm.thumbnailHeight,