Fix line break in IPA sample. (#2436)
This commit is contained in:
parent
20007f60a1
commit
198f5744e5
1 changed files with 42 additions and 42 deletions
|
@ -49,9 +49,9 @@ export default (function (args) {
|
|||
const theme = themes[args.theme];
|
||||
const EM = 24;
|
||||
const elementHeight = 1.5 * EM;
|
||||
const canvasWidth = 60 * EM;
|
||||
const canvasWidth = 62 * EM;
|
||||
const canvasHeight = (2 + languages.length) * elementHeight;
|
||||
const xSplit = 10 * EM;
|
||||
const xSplit = 11 * EM;
|
||||
let frames = [];
|
||||
for (const [j, { lang, sample, localeId }] of languages.entries()) {
|
||||
const top = canvasHeight / 2 + elementHeight * (j - languages.length / 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue