Giter VIP home page Giter VIP logo

Comments (2)

RobinMalfait avatar RobinMalfait commented on July 30, 2024

Hey! Thank you for your bug report!
Much appreciated! 🙏

This is a very interesting use case. We are relying on some :first-child selectors. The idea is that each td has padding within except for the first & last td's. This allows you to have nicely aligned td's on the outside. This is done so that when you have a borderless table on the outside that you don't have weird indents.

However, the :first-child selectors will apply to the first child on a DOM level, meaning that the non-indented td's in your screenshot are the first child elements. But visually they are clearly not.

I don't know if we can fix this in a general way, however I tried to fix things for your specific use case:
https://play.tailwindcss.com/gXZPDQ8Xym?file=config

Does this help you? If not, then we can re-open this issue and see if we can find another solution!

from tailwindcss-typography.

madwyn avatar madwyn commented on July 30, 2024

I'm also having this exact issue, but I'm not sure this use case is crazy.

I tested the above method, it works with the latest version.

However, it only work for prose, prose-lg and all others still have the same issue.

from tailwindcss-typography.

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.