Skip to content

Commit

Permalink
fix(tabs): revert input background changes (#5914)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Black <josh@josh.black>
  • Loading branch information
tw15egan and joshblack committed Apr 23, 2020
1 parent b3b56c4 commit ccbeadc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 38 deletions.
26 changes: 0 additions & 26 deletions packages/components/src/components/tabs/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -408,32 +408,6 @@
padding: $carbon--spacing-05;
}

.#{$prefix}--tabs--container
~ .#{$prefix}--tab-content
.#{$prefix}--text-input,
.#{$prefix}--tabs--container
~ .#{$prefix}--tab-content
.#{$prefix}--text-area,
.#{$prefix}--tabs--container
~ .#{$prefix}--tab-content
.#{$prefix}--search-input,
.#{$prefix}--tabs--container
~ .#{$prefix}--tab-content
.#{$prefix}--select-input,
.#{$prefix}--tabs--container ~ .#{$prefix}--tab-content .#{$prefix}--dropdown,
.#{$prefix}--tabs--container
~ .#{$prefix}--tab-content
.#{$prefix}--dropdown-list,
.#{$prefix}--tabs--container
~ .#{$prefix}--tab-content
.#{$prefix}--number
input[type='number'],
.#{$prefix}--tabs--container
~ .#{$prefix}--tab-content
.#{$prefix}--date-picker__input {
background-color: $field-02;
}

//-----------------------------
// Skeleton state
//-----------------------------
Expand Down
11 changes: 0 additions & 11 deletions packages/components/src/components/tile/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,6 @@
}
}

.#{$prefix}--tile .#{$prefix}--text-input,
.#{$prefix}--tile .#{$prefix}--text-area,
.#{$prefix}--tile .#{$prefix}--search-input,
.#{$prefix}--tile .#{$prefix}--select-input,
.#{$prefix}--tile .#{$prefix}--dropdown,
.#{$prefix}--tile .#{$prefix}--dropdown-list,
.#{$prefix}--tile .#{$prefix}--number input[type='number'],
.#{$prefix}--tile .#{$prefix}--date-picker__input {
background-color: $field-02;
}

.#{$prefix}--tile--light {
background-color: $ui-02;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Tabs/Tabs-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ storiesOf('Tabs', module)
label={<CustomLabel text="Custom Label" />}>
<div className="some-content">
<p>Content for fourth tab goes here.</p>
<TextInput id="sample-input" labelText="text input label" />
<TextInput light id="sample-input" labelText="Text Input Label" />
</div>
</Tab>
</Tabs>
Expand Down

0 comments on commit ccbeadc

Please sign in to comment.