Skip to content

Commit 7ab67e9

Browse files
author
p01
committed
switch to an absolute font size in the template for web Fonts preview
1 parent fa2ecf4 commit 7ab67e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resource-manager/resource_templates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ templates.resource_detail =
308308
['style',styleRule],
309309
'style','font-family:resource-'+resource.id
310310
],
311-
'data','data:text/html;base64,'+btoa('<!doctype html><style>'+ styleRule +'</style><div contenteditable="true" style="font-size:3em;margin:0;font-family:resource-'+resource.id+';">The quick brown fox jumps over the lazy dog 0123456789'),
311+
'data','data:text/html;base64,'+btoa('<!doctype html><style>'+ styleRule +'</style><div contenteditable="true" style="font-size:64px;margin:0;font-family:resource-'+resource.id+';">The quick brown fox jumps over the lazy dog 0123456789'),
312312
'class','resource-detail-font'
313313
]);
314314
},

0 commit comments

Comments
 (0)