Giter Club home page Giter Club logo

Comments (9)

ralfbiedert avatar ralfbiedert commented on June 6, 2024

For me even your window decoration is blurred in these screenshots :)

Since every other browser seems to work fine I think this is a Safari issue, but could you try

  • (un)setting transform to scale(1.0) in body > div.page > div.page__content > div.book-content (see screenshot below)
  • resizing the window so that the two columns barely fit on the screen?

image

from cheats.rs.

lucioreyli avatar lucioreyli commented on June 6, 2024

If I open "Inspect Element" works fine (because reduce the app width):
Screenshot 2023-02-07 at 15 52 36

And removing transform-scale works fine too:
Screenshot 2023-02-07 at 15 52 44

from cheats.rs.

ralfbiedert avatar ralfbiedert commented on June 6, 2024

Not sure what to do, this seems to be a Safari font rendering bug w.r.t. scale. For now my recommendation would be not to hold it like that to resize the window. I'm a bit reluctant adding a workaround, as they tend to be brittle and I don't have a Safari device to test anymore.

Any other ideas?

from cheats.rs.

lucioreyli avatar lucioreyli commented on June 6, 2024

The zoom css property looks good to solve this problem in Safari, replacing the transform/scale property
image

I tested in Safari and Chromium but I don't know the behavior in Mozilla Firefox 🔥
Screenshot 2023-02-07 at 17 31 12

from cheats.rs.

ralfbiedert avatar ralfbiedert commented on June 6, 2024

Apparently this doesn't work in Firefox :(

https://caniuse.com/css-zoom

from cheats.rs.

lucioreyli avatar lucioreyli commented on June 6, 2024

Can we use this?

.book-content {
    -moz-transform: scale(1.05); /* property for Firefox */
    zoom: 105%; /* property others browsers */
}

because using this:

.book-content {
    transform: scale(1.05);
    zoom: 105%; 
}

can duplicate the scale in the app.

from cheats.rs.

lucioreyli avatar lucioreyli commented on June 6, 2024

I don't have this issue using Safari in iOS
image

from cheats.rs.

ralfbiedert avatar ralfbiedert commented on June 6, 2024

Let's try this. Might have to revert if it breaks rendering in other browsers.

from cheats.rs.

ralfbiedert avatar ralfbiedert commented on June 6, 2024

Ah, just noticed I have some trouble deploying as I'm on vacation. ETA might be a few days.

from cheats.rs.

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.