Skip to content

Commit

Permalink
Merge pull request #709 from chiragg928/fix(HybridDropDown)
Browse files Browse the repository at this point in the history
fix(HybridDropDown): remove extra css
  • Loading branch information
kksarma authored Feb 23, 2021
2 parents 450b1a8 + efbea29 commit e37c2e0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 200 deletions.
4 changes: 0 additions & 4 deletions src/components/Input/DropDown/DropDownGroup.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ export const StyledGroupWrapper = styled.div`
}
&.hybrid {
top: 0;
left: 0;
z-index: 2;
&.hybrid-margin-small {
margin-top: -36px;
}
Expand Down
2 changes: 0 additions & 2 deletions src/components/Input/Select/Select.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ const StyledSelect = styled.select`
}
&.hybrid {
top: 0;
left: 0;
opacity: 0;
&:focus {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,6 @@ exports[`DropDownGroup Arrow key down should open the drop down 1`] = `
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -589,12 +583,6 @@ exports[`DropDownGroup Arrow key up should open the drop down 1`] = `
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -1017,12 +1005,6 @@ exports[`DropDownGroup Click outside should close the dropdown 1`] = `
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -1445,12 +1427,6 @@ exports[`DropDownGroup Click outside should not close the dropdown when the isOp
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -1875,12 +1851,6 @@ exports[`DropDownGroup Effect when move moves over dropdown option when focused
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -2303,12 +2273,6 @@ exports[`DropDownGroup Effect when move moves over dropdown option when focused
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -2731,12 +2695,6 @@ exports[`DropDownGroup Escape key should close the drop down 1`] = `
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -3159,12 +3117,6 @@ exports[`DropDownGroup Should not focus onClick 1`] = `
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -3587,12 +3539,6 @@ exports[`DropDownGroup Should open the drop down onClick 1`] = `
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -4017,12 +3963,6 @@ exports[`DropDownGroup Space bar should select and close dropdown 1`] = `
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -4447,12 +4387,6 @@ exports[`DropDownGroup Space bar should select and not close dropdown when the i
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -4877,12 +4811,6 @@ exports[`DropDownGroup Space bar should select but not close dropdown 1`] = `
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -5506,12 +5434,6 @@ exports[`DropDownGroup renders bordered variant with an inner label with a place
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -5938,12 +5860,6 @@ exports[`DropDownGroup renders borderless variant with an inner label with a lab
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -6368,12 +6284,6 @@ exports[`DropDownGroup renders borderless variant with label and hiddenLabel pro
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -6798,12 +6708,6 @@ exports[`DropDownGroup renders default dropdown 1`] = `
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -7226,12 +7130,6 @@ exports[`DropDownGroup renders default dropdown that should always open downward
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -7654,12 +7552,6 @@ exports[`DropDownGroup renders hybrid dropdown 1`] = `
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -8082,12 +7974,6 @@ exports[`DropDownGroup renders hybrid dropdown when hideDropdown is false 1`] =
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -8510,12 +8396,6 @@ exports[`DropDownGroup renders input correctly when the isOpen prop with a value
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -8938,12 +8818,6 @@ exports[`DropDownGroup renders input correctly when the keywordSearch prop with
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -9366,12 +9240,6 @@ exports[`DropDownGroup renders input correctly when the withKeyboardProvider pro
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -9793,12 +9661,6 @@ exports[`DropDownGroup renders small dropdown 1`] = `
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -10221,12 +10083,6 @@ exports[`DropDownGroup should render the correct label when label prop is passed
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -10648,12 +10504,6 @@ exports[`DropDownGroup should render the correct label when label prop is passed
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down Expand Up @@ -11078,12 +10928,6 @@ exports[`DropDownGroup should render the correct label when label prop is passed
display: block;
}
.c0.hybrid {
top: 0;
left: 0;
z-index: 2;
}
.c0.hybrid.hybrid-margin-small {
margin-top: -36px;
}
Expand Down
Loading

0 comments on commit e37c2e0

Please sign in to comment.