Fix margins for images and videos

This patch makes it so that the margins for images and videos is the same as other components.
This commit is contained in:
James Graham
2022-09-27 17:18:43 +00:00
parent 2839d44ea8
commit f8e57d60f5
3 changed files with 4 additions and 14 deletions

View File

@@ -27,8 +27,6 @@ TimelineContainer {
}
Loader {
id: linkPreviewLoader
Layout.rightMargin: Kirigami.Units.largeSpacing
Layout.leftMargin: Kirigami.Units.largeSpacing
height: active ? item.implicitHeight : 0
active: !currentRoom.usesEncryption && model.display && model.display.includes("http")
visible: active