GithubHelp home page GithubHelp logo

Comments (7)

MrOtherGuy avatar MrOtherGuy commented on May 20, 2024

What OS do you use that with?

from firefox-csshacks.

megaslowpoke avatar megaslowpoke commented on May 20, 2024

Windows 10, Firefox 76.0.1 x64, also tried to turn off all add-ons.

from firefox-csshacks.

MrOtherGuy avatar MrOtherGuy commented on May 20, 2024

Wow, how have I not catched that. Well, it should be fixed now.

from firefox-csshacks.

megaslowpoke avatar megaslowpoke commented on May 20, 2024

Thank you so much, now everything is fine.

from firefox-csshacks.

megaslowpoke avatar megaslowpoke commented on May 20, 2024

Empirically, I found out that for Windows 7 and Firefox 76.0.1 it works normally with the following parameters:

...(-moz-os-version: windows-win7){
:root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{margin-top: 6px !important; }...

It might be worth adding if you want to support Windows 7.

from firefox-csshacks.

MrOtherGuy avatar MrOtherGuy commented on May 20, 2024

Well I don't generally pay too much attention to Win7 because 1. it's deprecated and 2. it probably doesn't have too many users and 3. I don't have any Win7 system to test things with.

I could add rules for it though, but the important bit is what is seen in the stylesheet that Windows10 at least requires different values depending on the OS scaling. It's bloody annoying and -moz-appearance normally handles that, but since the style needs to set -moz-appearance to none well need to add those margins manually.

So your margin-top: 6px may work on the OS scaling of whatever you have applied (such as 125%) but it probably does not work on 150% or 100%. Or it might, I genuinely don't know.

I wouldn't normally go as far as to set values for every scaling factor, but since this particular style requires pixel-perfect layout for it to do the one thing it's supposed to do I feel it's worth it.

from firefox-csshacks.

megaslowpoke avatar megaslowpoke commented on May 20, 2024

In any case, now if anyone searches for support for Windows 7, they will be able to read here what needs to be changed. I think this is quite enough.

Thank you for this kit and its support.

from firefox-csshacks.

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.