This PR fixes some missing icons and corrects the styling for the imagedownloadtool and fulltextdownloadtool:
The fulltextdownloadtool missed an icon if there was no fulltext.
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:
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.
This PR fixes some missing icons and corrects the styling for the
imagedownloadtool
andfulltextdownloadtool
:fulltextdownloadtool
missed an icon if there was no fulltext.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](https://github.com/slub/dfg-viewer/assets/43964592/0ce45702-8761-4c9c-9942-00e204387492)
As you can see, for some reason the imagedownloadtool had a second
::before
element and was wrapped in aspan
. 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.