Add more comments to explain thumbnail sizing

This commit is contained in:
Luke Barnard 2018-05-18 10:27:22 +01:00
parent d11442de04
commit 7e7e2a7473
2 changed files with 9 additions and 0 deletions

View file

@ -28,6 +28,10 @@ limitations under the License.
}
.mx_MImageBody_thumbnail_container {
// Prevent the padding-bottom (added inline in MImageBody.js) from
// effecting elements below the container.
overflow: hidden;
// Make sure the _thumbnail is positioned relative to the _container
position: relative;
}