mirror of
https://github.com/gosticks/react-table.git
synced 2026-08-12 13:00:26 +00:00
Fixes and Readme updates
This commit is contained in:
+3
-3
@@ -261,10 +261,10 @@ export default React.createClass({
|
||||
<th
|
||||
key={i}
|
||||
className={classnames(
|
||||
sort ? (sort.asc ? 'sort-asc' : 'sort-desc') : '',
|
||||
sort ? (sort.asc ? '-sort-asc' : '-sort-desc') : '',
|
||||
{
|
||||
'cursor-pointer': column.sortable,
|
||||
'hidden': !show
|
||||
'-cursor-pointer': column.sortable,
|
||||
'-hidden': !show
|
||||
}
|
||||
)}
|
||||
onClick={(e) => {
|
||||
|
||||
+5
-3
@@ -57,7 +57,7 @@ $easeOutBack = cubic-bezier(0.175, 0.885, 0.320, 1.275)
|
||||
> *
|
||||
text-shadow: none
|
||||
|
||||
&.hidden
|
||||
&.-hidden
|
||||
border:0 !important
|
||||
opacity: 0 !important
|
||||
.-th-inner
|
||||
@@ -89,10 +89,12 @@ $easeOutBack = cubic-bezier(0.175, 0.885, 0.320, 1.275)
|
||||
border-right: 1px solid alpha(black, .05)
|
||||
transition box-shadow .3s $easeOutBack
|
||||
box-shadow:inset 0 0 0 0 transparent
|
||||
&.sort-asc
|
||||
&.-sort-asc
|
||||
box-shadow:inset 0 3px 0 0 alpha(black, .6)
|
||||
&.sort-desc
|
||||
&.-sort-desc
|
||||
box-shadow:inset 0 -3px 0 0 alpha(black, .6)
|
||||
&.-cursor-pointer
|
||||
cursor: pointer
|
||||
|
||||
tbody
|
||||
z-index:0
|
||||
|
||||
Reference in New Issue
Block a user