Giter Club home page Giter Club logo

Comments (5)

smithfred avatar smithfred commented on August 11, 2024 1

The offending rule is:

#back-button > .toolbarbutton-icon {
	width: 30px !important;
}

The standard rule from browser.css is:

#back-button > .toolbarbutton-icon {
	width: calc(2 * var(--toolbarbutton-inner-padding) + 16px);
}

This results in a computed value of 26px (16px, plus 5+5px padding) instead of 30px.

I think you'll find that the "some systems" seeing this problem have "Compact" density selected in Firefox's "Customise" UI instead of "Normal" - removing the above rule fixes the oversized/blurry icon in that case ;)

On the other hand, with "Normal" density the back icon looks undersized without the 30px rule.

HTH

from firefox-gnome-theme.

 avatar commented on August 11, 2024

Hey, you're totally right. With this theme, the density is no longer important, so changing it back to 'Normal' permanently fixes the issue.

from firefox-gnome-theme.

rafaelmardojai avatar rafaelmardojai commented on August 11, 2024

I can confirm that, i noticed the same behavior.

from firefox-gnome-theme.

smithfred avatar smithfred commented on August 11, 2024

I just checked, the back arrow is pixel-identical with either normal density + rule or compact density + no rule.

Maybe make the rule conditional on the current density, if there's a CSS attribute/class for it?

from firefox-gnome-theme.

lunakurame avatar lunakurame commented on August 11, 2024

Well then I'd say just switching to normal density is a good solution. Compact and touch density aren't supported anyway, they break paddings in more places than just this icon and when you switch to touch density everything looks bad. All the icons are underscaled, all buttons are fat, tab close buttons shrink to like 1px high.

Firefox 57 + Gnome theme + touch density

I would rather focus on expanding support to Firefox 58, which is gonna be released on January 28, than debugging everything to fix those paddings which can be disabled in 2 clicks by the user and are disabled by default anyway. Also I noticed the icon is still too small even using normal density on Firefox 58+, so that's something which must be fixed before the FF58 release. Also on FF58 the headerbar isn't high enough (probably the reason why the styles for Fedora's CSD patch don't exactly work with FF59) and disabled buttons look too flat. I'll try to fix all these in January. As for Firefox 57, the problem doesn't exist if you use normal density, so I'd say the issue is resolved.

Thank you all for figuring this out and testing the solution, I totally forgot about that density switch.

from firefox-gnome-theme.

Related Issues (20)

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.