Implement slightly hacky CSS soln. to thumbnail sizing
As the slightly nicer alternative to fixupHeight being applied once we actually have a timelineWidth. The niceness comes from not needing timelineWidth, which means we can implement at render time with CSS. (Despite still calculating aspect ratios when we render.)
This commit is contained in:
parent
bf0ec249b6
commit
b28ed6075b
2 changed files with 29 additions and 50 deletions
|
@ -20,5 +20,14 @@ limitations under the License.
|
|||
}
|
||||
|
||||
.mx_MImageBody_thumbnail {
|
||||
max-width: 100%;
|
||||
}
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.mx_MImageBody_thumbnail_container {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue