prepare styles to have other images (like avatar) in timeline
This commit is contained in:
parent
5d0ee21267
commit
225d46fad6
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Reference in a new issue