mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-28 23:31:09 +12:00
fix #479
This commit is contained in:
parent
748891a094
commit
36e7c874cd
2 changed files with 5 additions and 3 deletions
|
@ -209,6 +209,8 @@ var collapser = (function() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
target.setAttribute(src1stProps[tag], placeholders[tag]);
|
target.setAttribute(src1stProps[tag], placeholders[tag]);
|
||||||
|
target.style.setProperty('min-width', '20px', 'important');
|
||||||
|
target.style.setProperty('min-height', '20px', 'important');
|
||||||
target.style.setProperty('border', placeholders.border, 'important');
|
target.style.setProperty('border', placeholders.border, 'important');
|
||||||
target.style.setProperty('background', placeholders.background, 'important');
|
target.style.setProperty('background', placeholders.background, 'important');
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,7 +72,7 @@ var µm = µMatrix;
|
||||||
'") ',
|
'") ',
|
||||||
'repeat scroll #fff'
|
'repeat scroll #fff'
|
||||||
].join(''),
|
].join(''),
|
||||||
placeholderBorder: '1px solid rgba(0, 0, 0, 0.05)',
|
placeholderBorder: '1px solid rgba(0, 0, 0, 0.1)',
|
||||||
placeholderDocument: [
|
placeholderDocument: [
|
||||||
'<html><head>',
|
'<html><head>',
|
||||||
'<meta charset="utf-8">',
|
'<meta charset="utf-8">',
|
||||||
|
@ -103,9 +103,9 @@ var µm = µMatrix;
|
||||||
'<svg viewBox="0 0 1792 1792"><path transform="scale(1,-1) translate(0,-1536)" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" /></svg>',
|
'<svg viewBox="0 0 1792 1792"><path transform="scale(1,-1) translate(0,-1536)" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" /></svg>',
|
||||||
'</a>{{url}}</span>',
|
'</a>{{url}}</span>',
|
||||||
'</body></html>'
|
'</body></html>'
|
||||||
].join(''),
|
].join('')
|
||||||
placeholderImage: 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='
|
|
||||||
};
|
};
|
||||||
|
µm.defaultLocalUserSettings.placeholderImage = µm.defaultLocalUserSettings.placeholderBackground;
|
||||||
|
|
||||||
var rwLocalUserSettings = {
|
var rwLocalUserSettings = {
|
||||||
placeholderBackground: true,
|
placeholderBackground: true,
|
||||||
|
|
Loading…
Reference in a new issue