Skip to content

Instantly share code, notes, and snippets.

View trplfr's full-sized avatar
💧

Valentine C. trplfr

💧
View GitHub Profile
.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
margin-left: -8px;
position: absolute;
}
.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow, .react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,
@trplfr
trplfr / sc-for-react-select.js
Last active November 18, 2019 15:22
styled-components snippet for react-select
// styled:
import Select from 'react-select'
export const Select = css`
& .gideon__control {
background-color: #FFF;
border-color: #E7E7E7;
}