Commit d3b36e51 authored by Robin Tissot's avatar Robin Tissot
Browse files

Really fixes the rtl + scale thing.

parent ea561300
......@@ -81,7 +81,8 @@ class TranscriptionLine {
this.textContainer.css('display', 'inline-block');
var scaleX = Math.min(5, ((this.box[2] - this.box[0])*this.ratio) / this.textContainer.width());
this.textContainer.css({
transform: 'scaleX('+scaleX+')'
transform: 'scaleX('+scaleX+')',
width: 100/scaleX + '%' // fit in the container
});
this.textContainer.css('display', 'block');
}
......
......@@ -349,7 +349,7 @@ i.panel-icon {
}
.trans-box span {
white-space: nowrap;
display: inline-block;
display: block;
transform-origin: top left;
max-height: 100%;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment