Skip to content

Commit

Permalink
fix(inlineNotification): remove extra border and update width at… (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonjoseph authored Feb 10, 2020
1 parent ecb0dfe commit b431b4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ export default class InlineNotification extends React.Component {
render() {
const { children, className, kind } = this.props;

const notifcationClasses = classnames(notification, {
const notificationClasses = classnames(notification, {
[className]: className,
});

return (
<Row>
<Column colLg={8} className={notifcationClasses}>
<Column colLg={8} colMd={6} className={notificationClasses}>
<CarbonInlineNotification
lowContrast
hideCloseButton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,6 @@
box-shadow: none;
margin-bottom: 0;
margin-top: 0;
border-right: 1px solid $carbon--blue-30;
border-top: 1px solid $carbon--blue-30;
border-bottom: 1px solid $carbon--blue-30;
}

.notification :global(.bx--inline-notification--error) {
border-top-color: $carbon--red-30;
border-bottom-color: $carbon--red-30;
border-right-color: $carbon--red-30;
}

.notification :global(.bx--inline-notification--success) {
border-top-color: $carbon--green-30;
border-bottom-color: $carbon--green-30;
border-right-color: $carbon--green-30;
}

.notification :global(.bx--inline-notification--warning) {
border-top-color: $inverse-support-03;
border-bottom-color: $inverse-support-03;
border-right-color: $inverse-support-03;
}

.notification :global(.bx--inline-notification__subtitle p) {
Expand Down

1 comment on commit b431b4d

@vercel
Copy link

@vercel vercel bot commented on b431b4d Feb 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.