-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix icons on App page in FF #905
Conversation
@rullzer, thanks for your PR! By analyzing the annotation information on this pull request, we identified @raghunayyar, @DeepDiver1975 and @PVince81 to be potential reviewers |
* everything is 4 times as big (doubled width and doubled height)
@@ -234,6 +234,11 @@ OC.Settings.Apps = OC.Settings.Apps || { | |||
|
|||
imageUrl : function (url, appfromstore) { | |||
var img = '<svg width="72" height="72" viewBox="0 0 72 72">'; | |||
// weird hack because in Firefox everything is 4 times as big (doubled in width and doubled in height) | |||
// TODO: replace this with a proper solution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we have todos as issues instead, pls?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will create it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine by me for now 👍 |
If we don't add a viewbox a lot of browsers will just say NOPE!!! when we ask them to scale.
It seems it is because a lot of icons are missing a |
I tested this now in Edge, IE11, IE10, Safari, Chrome, Firefox and it works just fine 👍 |
@karlitschek We need this backported (and it would be best to have this in before the RC - looking towards @LukasReschke 😉 ) |
I tested this with Opera too and it works there :) |
nice. please backport |
LGTM and world doesn't explode 👍 |
@karlitschek for all the backports above 🙈 It's mostly only adding a Then the app management looks nice for all shipped apps. |
Fix icons on App page in FF
For #900
Once done: