Skip to content

Commit

Permalink
FFE-155 Used padding instead of line-height to set radio block header…
Browse files Browse the repository at this point in the history
… height/padding.
  • Loading branch information
Kristoffer Nordström committed Mar 20, 2017
1 parent dab0227 commit db34025
Show file tree
Hide file tree
Showing 3 changed files with 5 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

## v4.1.4
* Removed use of `line-height` to set `ffe-radio-block-header` height, instead use `padding`. This so line breaks won't look awkward - with padding around every text row.

## v4.1.3
* Changed color of option text in selects with validation errors to default blue in stead of inherited red.

Expand Down
3 changes: 1 addition & 2 deletions less/radio-block.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@

&__header {
display: block;
padding: 0 60px;
line-height: 40px;
padding: 8px 60px 7px;
cursor: pointer;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ffe-form",
"version": "4.1.3",
"version": "4.1.4",
"description": "Form-/skjemapakke for Felles Front End",
"main": "less/form.less",
"scripts": {
Expand Down

0 comments on commit db34025

Please sign in to comment.