Skip to content

Commit

Permalink
Add header class for less margin between header and body text
Browse files Browse the repository at this point in the history
  • Loading branch information
torbein committed Nov 21, 2016
1 parent 27d5c65 commit bd0887c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## 2.0.2
* Less margin between header and body text

## 2.0.1
* Bugfix: close button is now properly removed when showCloseButton is true
* Bugfix: context-tip-message now accepts `nn` as locale
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ffe-context-message-react",
"version": "2.0.1",
"version": "2.0.2",
"description": "SpareBank 1 System Message komponent",
"main": "lib/index.js",
"scripts": {
Expand All @@ -25,7 +25,7 @@
"peerDependencies": {
"ffe-core": "^8.1.2",
"ffe-icons-react": "^2.1.0",
"ffe-context-message": "^1.0.2"
"ffe-context-message": "^1.0.3"
},
"devDependencies": {
"babel-cli": "^6.10.1",
Expand Down
2 changes: 1 addition & 1 deletion src/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class Base extends Component {
{icon && this.renderIcon()}

<div>
{header && <header className="ffe-h5">{header}</header>}
{header && <header className="ffe-context-message-content__header">{header}</header>}
<div className="ffe-body-text">
{children}
</div>
Expand Down

0 comments on commit bd0887c

Please sign in to comment.