Giter VIP home page Giter VIP logo

Comments (9)

ChrisKeefe avatar ChrisKeefe commented on July 2, 2024 3

@David-Rod, this may be distro-specific, and on my machine the truncation of library is very slight after the MS font install.

If I remember correctly, @thermokarst and I discussed using inkscape (or a similar vector art program) to outline the words 'library' etc, then replacing the text currently being rendered by the page with those vector graphics.

A clunky, low-priority fix, but should make rendering robust across platforms.

from library.

thermokarst avatar thermokarst commented on July 2, 2024

This is a font issue --- your system is missing the necessary fonts. Also, the stylesheet in FF appears to be rendering the word "library" much more largely than in chrome. One option is to update the style here to make it a bit wider.

Question, do you see the same issue on workshops.qiime2.org?

from library.

ChrisKeefe avatar ChrisKeefe commented on July 2, 2024

I do see the same issue at workshops.qiime2.org, @thermokarst.

from library.

thermokarst avatar thermokarst commented on July 2, 2024

Great, thanks. Can you see if this is still a problem for you after you ensure you have MS fonts installed? See this link for details: https://community.linuxmint.com/tutorial/view/25

sudo apt-get install msttcorefonts

from library.

ChrisKeefe avatar ChrisKeefe commented on July 2, 2024

Issue still present at library, not at workshops.
library-verdana

from library.

thermokarst avatar thermokarst commented on July 2, 2024

Can you double-check the following for me?

Add the rule max-width: 180px to the img tag for the logo:

image

from library.

ChrisKeefe avatar ChrisKeefe commented on July 2, 2024

@thermokarst , setting max-width: 180px does not improve the situation. Setting max-height: 46px; fixes the issue, but (obviously) makes the logo and nav-bar oversized.

Seems like height and aspect ratio are taking precedence over width? I spent some time tinkering in the CSS inspector, but was unable to find a solution.

from library.

thermokarst avatar thermokarst commented on July 2, 2024

When you have 10 minutes to look at this together, just grab me, we can take a closer look.

from library.

David-Rod avatar David-Rod commented on July 2, 2024

Just a heads up @thermokarst and @ChrisKeefe, I spent time replicating the issue by installing Ubuntu on my machine. I had issues with truncation to library, but none to workshops. I ran the command mentioned by Matt, which installs MS fonts:

Great, thanks. Can you see if this is still a problem for you after you ensure you have MS fonts installed? See this link for details: https://community.linuxmint.com/tutorial/view/25

sudo apt-get install msttcorefonts

The issue seems to be resolved regardless of the zoom level for the browser window. I am not sure what the next step would be to resolve the issue, but I am happy to help with this one if needed. Thanks.

from library.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.