Skip to content

Commit

Permalink
Change icon size to 14px
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarni committed Feb 9, 2017
1 parent 38e05df commit d194eec
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
git-tag-version=false
registry=***REMOVED***
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v2.5.5
* According to Bodil Egge, icons in buttons are 14x14 px in "verktøykassa", not 18x18 px. This change only affects the size of the icon, the button's outer dimensions are not changed.

## v2.5.4
* Fix visual bug with icons in buttons in IE by explicitly setting label icon width.

Expand Down
4 changes: 2 additions & 2 deletions less/secondary-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
top: .15em;
right: 5px;
display: inline-block;
height: 18px;
width: 18px;
height: 14px;
width: 14px;
fill: @ffe-blue-royal;
}

Expand Down
4 changes: 2 additions & 2 deletions less/tertiary-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
bottom: 4px;
left: 4px;
fill: @ffe-blue-royal;
height: 18px;
width: 18px;
height: 14px;
width: 14px;
}

&--condensed {
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-buttons",
"version": "2.5.4",
"version": "2.5.5",
"main": "less/buttons.less",
"scripts": {
"compile": "npm run lint && lessc example/example.less example/example.css && cp -R node_modules/ffe-core/fonts/ example/ && echo \"$(date +%T): Updated example\"",
Expand Down
Binary file modified visual-tests/baseline-screenshots/example/plain/firefox-large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified visual-tests/baseline-screenshots/example/plain/firefox-medium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified visual-tests/baseline-screenshots/example/plain/firefox-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d194eec

Please sign in to comment.