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
Attached textfiles break "RAW"-Link if last attachment in list #2518
Comments
We also just stumbled over this. The root cause seems to be a broken icon - it tries to display https://svgwg.org/specs/integration/#svg-css-sizing
It's easy to see if you add |
Thanks a ton for digging into it @martinvonwittich ! @mrflix - can you please check where our text icon went? 🏖 |
I'd argue it was never there in the first place :D
A comparison with another icon:
Next to the missing icon in zammad@martin.mein-iserv.de ~ (develop) % git diff app/assets/stylesheets/svg-dimensions.css
diff --git a/app/assets/stylesheets/svg-dimensions.css b/app/assets/stylesheets/svg-dimensions.css
index 24e902dd3..f04d6dd70 100644
--- a/app/assets/stylesheets/svg-dimensions.css
+++ b/app/assets/stylesheets/svg-dimensions.css
@@ -31,6 +31,7 @@
.icon-file-powerpoint { width: 24px; height: 31px; }
.icon-file-unknown { width: 24px; height: 31px; }
.icon-file-word { width: 24px; height: 31px; }
+.icon-file-text { width: 24px; height: 31px; }
.icon-form { width: 17px; height: 17px; }
.icon-forward { width: 16px; height: 17px; }
.icon-full-logo { width: 175px; height: 50px; } I thought it would also be useful to somehow provide a default size for the , in case that other
Should we add a new CSS class (e.g. |
The icon file-text is referenced from https://github.com/zammad/zammad/blob/develop/app/assets/javascripts/app/lib/mixins/view_helpers.coffee#L187 but didn't actually exist so far. It's grey version of the word icon.
@martinvonwittich nice git command skills! Thank's for looking into this. The icon name is mapped in view_helpers.coffee but – as you correctly assessed – didn't actually exist. |
Infos:
Expected behavior:
Actual behavior:
Steps to reproduce the behavior:
Screenshot of the issue:
Yes I'm sure this is a bug and no feature request or a general question.
The text was updated successfully, but these errors were encountered: