Uh oh!
There was an error while loading. Please reload this page.
Remove obsolete/faulty css for the top right button - #196
Conversation
Codecov Report
@@ Coverage Diff @@## master #196 +/- ##
============================================
- Coverage 82.39% 81.93% -0.47%
Complexity 334 334 ============================================
Files 38 38 Lines 1284 1284 ============================================
- Hits 1058 1052 -6 - Misses 226 232 +6
Continue to review full report at Codecov.
|
skjnldsv
commented
Jan 23, 2017
Could you use a span and apply the icon through css instead? I would like to unify the alignment of icons inside buttons in core :) |
eppfel
commented
Jan 24, 2017
@skjnldsv Feel free to hijack this... |
skjnldsv
commented
Jan 24, 2017
@eppfel sorry, here you go :) |
08391e0 to
f51367eCompare| '<img class="svg" src="' + OC.imagePath('core', 'actions/toggle-pictures.svg') + | ||
| '"' + | ||
| 'alt="' + t('gallery', 'Gallery view') + '"/>' + | ||
| '<span class="icon-toggle-pictures"></span>' + |
There was a problem hiding this comment.
Is there a way to keep the alternative text for the icon?
There was a problem hiding this comment.
It currently says "Gallery view", letting people know what the button is for. It's also an accessibility thing if I'm not mistaken.
There was a problem hiding this comment.
Alt is in case of the image isn't loaded indeed. With title we should be able to have a popup. That's how we do on the other apps on nextcloud I think. There isn't any icons used as direct image (not that I'm aware of at least) :)
There was a problem hiding this comment.
Just tested on Files and seems all of these are gone anyway, so if @jancborchardt is OK with this, it can be merged.
jancborchardt
commented
Feb 14, 2017
Can you post a before/after screenshot? Not sure what the issue is. It is intentional that the switch to Gallery in the top right of files does not have a border. |
MorrisJobke
commented
May 19, 2017
@eppfel What is the status of this? Could you show what is broken and what does this fix to evaluate if we need to ship this with 12. I would like to move this to 13. |
f51367e to
e0fafceCompareeppfel
commented
May 21, 2017
eppfel
commented
May 21, 2017
Wait.. now the icon greyvalue is off... @skjnldsv to the rescue! |
Signed-off-by: Felix A. Epp <work@felixepp.de>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
e0fafce to
523d282CompareMorrisJobke
commented
Jul 27, 2017
Rebased |
MorrisJobke
commented
Jul 27, 2017
BTW: I'm currently fixing all of this here 😉 |
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
MorrisJobke
commented
Jul 27, 2017
Okay I adjusted:
|
MorrisJobke
commented
Jul 27, 2017
And this should be backported to the stable12 branch. |
jancborchardt
left a comment
There was a problem hiding this comment.
Looks good! What about the Travis failure?
oparoz
commented
Aug 2, 2017
Someone needs to adjust the acceptance test to work with the new menu introduced in 12. |





Fixes wrong styling in files app and gallery due to new button styles in server nextcloud/server#3187