Code Monkey home page Code Monkey logo

Comments (4)

relaxatorium avatar relaxatorium commented on July 17, 2024

If you are only using the stack tables, I think you can accomplish this with the SCSS mixin (see the "Using Stack-Only TableSaw SCSS Mixin" section of the Readme).

If you are only using CSS, or are using the full tablesaw plugin, then currently I think you'd need to just add additional tablesaw targeted media queries using your requested size to your own CSS, using the same stack table CSS the default uses. That solution is a bit of a hack outside the plugin, but would likely work.

from tablesaw.

zachleat avatar zachleat commented on July 17, 2024

Thanks @relaxatorium!

This is the main reason we provide the SCSS mixin. If you aren’t using SCSS in your workflow, unfortunately some monkey patching is in your future.

https://github.com/filamentgroup/tablesaw/blob/master/dist/tablesaw.css#L552
https://github.com/filamentgroup/tablesaw/blob/master/dist/tablesaw.css#L568
are the two lines to update.

Please reopen if you have additional questions.

from tablesaw.

extractachris avatar extractachris commented on July 17, 2024

The mixin will not work with any other css file, correct? For example: tablesaw.bare.css

from tablesaw.

relaxatorium avatar relaxatorium commented on July 17, 2024

That is correct, I believe.

It probably could be made to work with the tablesaw.bare.css with some wrangling or overrides, but with the current project infrastructure, tablesaw.stackonly.scss (which provides this mixin) is only a drop-in replacement for tablesaw.stackonly.css, which includes all the default tablesaw styles.

from tablesaw.

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.