Skip to content
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 missing icons and wrong styling for download menu #262

Merged
merged 3 commits into from
Dec 4, 2023

Conversation

csidirop
Copy link
Contributor

This PR fixes some missing icons and corrects the styling for the imagedownloadtool and fulltextdownloadtool:

grafik
The fulltextdownloadtool missed an icon if there was no fulltext.

grafik
The imagedownloadtool had no icon at all. So I reused one which belongs to the pdf page download button. Furthermore it fixed the opacity.

And in the doublepageview:
all

As you can see, for some reason the imagedownloadtool had a second ::before element and was wrapped in a span. I was not able to find the reason for the existence of the second element, so maybe it was mistake?
I have tried to work around the problem, at least for now, by hiding it and moving the text. Only drawback is that in the doublepageview the download for the second page image is now missing all ::before elements.

What do you think?

Also I left both tools active. I thought that since DFG-Viewer is a reference implementation, it should also show what it can do by default. But thats only my opinion and can be easily undone.

@csidirop
Copy link
Contributor Author

In addition to this changes, this PR slub/slub_digitalcollections#65 fixes the page pdf icon

@beatrycze-volk beatrycze-volk added the 🐛 bug A non-security related bug. label Dec 4, 2023
@beatrycze-volk beatrycze-volk added this to the DFG-Viewer 6.0.0 milestone Dec 4, 2023
Signed-off-by: Christos Sidiropoulos <[email protected]>
Signed-off-by: Christos Sidiropoulos <[email protected]>
@csidirop csidirop force-pushed the bugfix/fixDownloadIcons branch from 06776e9 to a256375 Compare December 4, 2023 13:49
Copy link
Contributor

@beatrycze-volk beatrycze-volk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes!

@beatrycze-volk beatrycze-volk merged commit d0d6b61 into slub:master Dec 4, 2023
4 checks passed
@csidirop csidirop deleted the bugfix/fixDownloadIcons branch January 10, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug A non-security related bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants