Giter Club home page Giter Club logo

Comments (4)

TosakRin avatar TosakRin commented on May 27, 2024

Forgive me if my description is not clear

After maximize the window, the line numbers will display like this:

image

from typora-notion-theme.

adrian-fuertes avatar adrian-fuertes commented on May 27, 2024

Hey @TosakRin! Thank you so much for your issue. I will try to reproduce it and fix it :)

I haven't tried to reproduce it yet, but I don't understand how this could be caused by the theme. Do you not get this issue with other themes?

from typora-notion-theme.

TosakRin avatar TosakRin commented on May 27, 2024

Hey @TosakRin! Thank you so much for your issue. I will try to reproduce it and fix it :)

I haven't tried to reproduce it yet, but I don't understand how this could be caused by the theme. Do you not get this issue with other themes?

Sorry I didn't reply in time.

I have tried 10+ other themes(including the offical and third-party ones).

it seems that the main problem is the aligning bug when I try to make the window larger after clicking code fence in a small window:

Other themes display the same as first figure I posted above if window's width is short. So I think it's not a bug.

But other themes all work well after making window larger. Their line numbers align correctly, which is different from the situation like the second figure I posted above

I'm sorry that I haven't studied CSS style systematically so I can't make some useful suggestions for yor :(. But some themes seems to choose not to hide line numbers automatically when the window is small. Maybe it's an alternative solution?

Anyway, thank you so much for your attention to my issus :)

from typora-notion-theme.

adrian-fuertes avatar adrian-fuertes commented on May 27, 2024

Hi @TosakRin! I tried to replicate your issue in both Windows 10 and MacOS using Typora 1.2.4, but I was unsuccessful. In my testing the code fences always resize adequately. Even if I was able to reproduce this, I don't think the theme can really do anything about it, since it's essentially just styling the text reproduction.

I would recommend updating to the latest Typora version and trying again :)

I'm sorry I couldn't fix your problem and thank you very much for the feedback! I will be closing this issue.

from typora-notion-theme.

Related Issues (14)

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.