Skip to content

Commit

Permalink
Merge pull request #87 from indec-it/fix/datePickerStyle
Browse files Browse the repository at this point in the history
fix(datePicker): fix styles
  • Loading branch information
maximilianoforlenza authored Jun 27, 2022
2 parents cdaf2de + 8be8235 commit 91c1515
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@indec/react-commons",
"version": "5.1.0",
"version": "5.1.1",
"description": "Common reactjs components for apps",
"private": false,
"main": "index.js",
Expand Down
2 changes: 0 additions & 2 deletions src/components/DatePicker/DatePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import es from 'date-fns/locale/es';
import ReactDatePicker from 'react-datepicker';

import DatePickerInput from './DatePickerInput';
import './styles.css';

const DatePicker = ({
name,
Expand Down Expand Up @@ -44,7 +43,6 @@ const DatePicker = ({
selectsStart={selectsStart}
startDate={startDate}
endDate={endDate}
style={{zIndex: 5}}
customInput={(
<DatePickerInput
{...props}
Expand Down
3 changes: 0 additions & 3 deletions src/components/DatePicker/styles.css

This file was deleted.

3 changes: 3 additions & 0 deletions src/theme/base/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ const global = {
'*, :after, :before': {
boxSizing: 'border-box'
},
'.react-datepicker-popper': {
zIndex: 3
},
input: {
'&:-webkit-autofill::first-line': {
fontSize: '16px',
Expand Down

0 comments on commit 91c1515

Please sign in to comment.