Skip to content

Commit

Permalink
fix(tile): add non link styling to clickable tile (#5591)
Browse files Browse the repository at this point in the history
Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: Jan Child <[email protected]>
  • Loading branch information
3 people committed Mar 18, 2020
1 parent d252472 commit 20517eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions packages/components/src/components/tile/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@
}
}

.#{$prefix}--tile--clickable {
@include reset;
@include type-style('body-short-01');
color: $text-01;
text-decoration: none;
}

.#{$prefix}--tile--selectable {
padding-right: $carbon--spacing-09;
}
Expand Down
1 change: 0 additions & 1 deletion packages/react/src/components/Tile/Tile.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ export class ClickableTile extends Component {
} = this.props;

const classes = classNames(
`${prefix}--link`,
`${prefix}--tile`,
`${prefix}--tile--clickable`,
{
Expand Down

0 comments on commit 20517eb

Please sign in to comment.