mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 03:19:32 +08:00
[scaling] regexp to avoid button scaling if it has svg-icon only
This commit is contained in:
@ -340,6 +340,9 @@ define([
|
||||
me.style = me.options.style;
|
||||
me.rendered = false;
|
||||
|
||||
// if ( /(?<!-)svg-icon(?!-)/.test(me.options.iconCls) )
|
||||
// me.options.scaling = false;
|
||||
|
||||
if ( me.options.scaling === false && me.options.iconCls) {
|
||||
me.iconCls = me.options.iconCls + ' scaling-off';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user