gerby-project / gerby-website

Tag-based webview of LaTeX documents
MIT License
28 stars 22 forks source link

Give visual clue in treeview of when results have slogan, reference or history #44

Closed pbelmans closed 6 years ago

pbelmans commented 6 years ago

I'm just looking for an excuse to use Bootstrap's badges probably.

chngr commented 6 years ago

Maybe add slogans, history, etc. as the alt-text to the badge?

chngr commented 6 years ago

The alt-text is implemented in commit 1808b32.

pbelmans commented 6 years ago

If we're doing Bootstrap-y things, we might just change the alt-text into https://getbootstrap.com/docs/4.0/components/popovers/, because we can :).

pbelmans commented 6 years ago

I've changed these to popovers now. There is still an issue with the z-index: if you open a popover and start scrolling the top bar goes beneath the popover, which doesn't make sense.

pbelmans commented 6 years ago

Also do this in the search results by the way.

pbelmans commented 6 years ago

Okay, everything is done it seems.

By the way, I changed back to putting them on the bottom, because on mobile devices there is not enough space on the left.