jstrieb / github-stats

Better GitHub statistics images for your profile, with stats from private repos too
GNU General Public License v3.0
2.97k stars 624 forks source link

Overflow problem ! #71

Open NazmusSayad opened 2 years ago

NazmusSayad commented 2 years ago

In small width devices some content of language.svg is overflowing. I was trying to fix it and if found the bug.

Problem:

foreignObject {
  width: calc(100% - 10px - 32px);
  height: calc(100% - 10px - 24px);
}

vivo-v5s-5 5-720 x 1280

Fix:

But without the height and width property everything is fine.

foreignObject {
}

dddd

jstrieb commented 2 years ago

Hey @NazmusSayad, thanks for reporting this! This is a duplicate of #57 and discussions should probably continue in that thread.

As for the fix, it would be important to test in a few different browsers and devices before removing those CSS values entirely.