Skip to content

Commit e8c557d

Browse files
s7dhanshtannerlinsley
authored andcommitted
Make the css for input and select more specific (TanStack#446)
The current css selectors, eg. `.ReactTable input` cause conflicts with `input` elements inside Cells. So changed it to `.ReactTable .-pagination input`.
1 parent ff95c21 commit e8c557d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/index.styl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,16 @@ $expandSize = 7px
196196
box-shadow: 0 0px 15px 0px alpha(black, .1)
197197
border-top: 2px solid alpha(black, .1)
198198

199+
input
200+
select
201+
border: 1px solid rgba(0,0,0,0.1)
202+
background: white
203+
padding: 5px 7px
204+
font-size: inherit
205+
border-radius: 3px
206+
font-weight: normal
207+
outline:none
208+
199209
.-btn
200210
appearance:none
201211
display:block
@@ -293,16 +303,6 @@ $expandSize = 7px
293303
> div
294304
transform: translateY(50%)
295305

296-
input
297-
select
298-
border: 1px solid rgba(0,0,0,0.1)
299-
background: white
300-
padding: 5px 7px
301-
font-size: inherit
302-
border-radius: 3px
303-
font-weight: normal
304-
outline:none
305-
306306
.rt-resizing
307307
.rt-th
308308
.rt-td

0 commit comments

Comments
 (0)