just-the-docs / just-the-docs

A modern, high customizable, responsive Jekyll theme for documentation with built-in search.

Home Page:https://just-the-docs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The svg logo is incomplete on mobile

orwithout opened this issue · comments

Describe the bug
The svg logo is not fully displayed on mobile devices.

To Reproduce
Steps to reproduce the behavior:
1.Custom website uses svg image as logo
2.Visit the website using the mobile chrome or firefox browser

Expected behavior
Full display of custom svg logo images

Screenshots
image

The display on the browser on the PC side is intact:
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: chrome
  • Version: 114.0.5735.199

Smartphone (please complete the following information):

  • Device: iphone13
  • OS: iOS v16.5.1
  • Browser: chrome、firefox
  • Version:

The reason likely lies in the differences in fonts across different platforms.
This probably can't be considered a bug, I must admit that I'm a beginner...

Thanks for submitting an issue @orwithout! Could you link us your website (and ideally, provide a repository) so we can take a look? My initial guess is that the CSS we have for the width of the site title is a bit too restrictive, but a reproducible example can help us better troubleshoot.

Going to close this right now due to inactivity; feel free to bump if you are still having this problem (and can provide the above minimum reproducible example)!