Skip to content

Commit

Permalink
Fix checkbox/radio and text area error alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
julkue committed Sep 28, 2017
1 parent 87b8078 commit a8afa54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@julmot/form-components",
"version": "0.6.3",
"version": "0.6.4",
"description": "Custom Form Components. Without Any Framework.",
"keywords": [
"form",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ $variants: "dark", "light";
line-height: $radioLineHeight;
font-family: $radioFontFamily;
// subtract -2px as checkbox is 2px smaller (Material Design sizes)
padding: 0 0 0 calc(#{$radioIconFontSize} + #{$border * 2} + 10px - 2px);
padding: 0 0 0 calc(#{$radioIconFontSize} + #{$border * 2} + 10px + 2px);
box-sizing: border-box;
cursor: pointer;
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ $variants: "dark", "light";
************************************************************************/
#{$block}__error {
color: $textAreaErrorColor;
margin: 5px $textAreaPaddingX;
margin: 5px 0;

a {
color: $textAreaErrorColor;
Expand Down

0 comments on commit a8afa54

Please sign in to comment.