We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 960d0d1 commit 1444c1dCopy full SHA for 1444c1d
settings/js/apps.js
@@ -234,6 +234,11 @@ OC.Settings.Apps = OC.Settings.Apps || {
234
235
imageUrl : function (url, appfromstore) {
236
var img = '<svg width="72" height="72" viewBox="0 0 72 72">';
237
+ // weird hack because in Firefox everything is 4 times as big (doubled in width and doubled in height)
238
+ // TODO: replace this with a proper solution
239
+ if($.browser.mozilla) {
240
+ img = '<svg width="72" height="72" viewBox="0 0 36 36">';
241
+ }
242
if (appfromstore) {
243
img += '<image x="0" y="0" width="72" height="72" preserveAspectRatio="xMinYMin meet" xlink:href="' + url + '" class="app-icon" /></svg>';
244
} else {
0 commit comments