filamentgroup / tablesaw

A group of plugins for responsive tables.
MIT License
5.48k stars 434 forks source link

Unwanted Space Below Header Row In "data-tablesaw-sortable" Tables #299

Closed CaptainJoy closed 7 years ago

CaptainJoy commented 7 years ago

I've only started using TableSaw and I'm noticing an issue in which the header row of tables that are "data-tablesaw-sortable" have an extra space below them. I'm unable to get rid of this extra row. Please advise. (I'm so new to this I just now signed up my GitHub account in order to ask this questions.)

An example of my issue can be seen here: http://captainjoy.chunkyboy.com/GURPS_Star_Trek/Starfleet/Monitor/test.php

CaptainJoy commented 7 years ago

Actually, I'm noticing there is extra space above and below the header row of the "data-tablesaw-sortable" table.

zachleat commented 7 years ago

/*** Captain Joy will use his css files to style his tables, thank you.
.tablesaw th,
.tablesaw td {
  padding: .5em .7em;
  text-align: left;
  vertical-align: middle;
}

.tablesaw thead th {
  text-align: left;
} ***/

Ahem, what is this @CaptainJoy?

The extra space you’re seeing is that padding on the sortable buttons. Please reopen if you have more questions 😀