Skip to content

Commit

Permalink
style(fields): fix various field styling incoherences
Browse files Browse the repository at this point in the history
  • Loading branch information
dackmin committed Jan 9, 2019
1 parent ff9fc72 commit ec8f50a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/theme/components/CheckBox.styl
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
width: auto
flex-grow: 1
flex-basis: 0
line-height: initial

&.checked
label.check-wrapper
Expand Down
11 changes: 6 additions & 5 deletions src/theme/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
opacity: 0
transform: translate3d(0, 10px, 0)
transition: all .2s ease-out
line-height: initial

.field
width: 100%
Expand All @@ -68,8 +69,8 @@
.error
margin: 8px 0 4px
display: block
font-size: 14px
line-height: 18px
font-size: 11px
line-height: initial

&.boxed

Expand All @@ -93,9 +94,6 @@
border-bottom-color: $color-shuttle-gray
color: $color-shuttle-gray

.error
color: $color-monza

&.boxed
& > .field-wrapper
& > .field,
Expand All @@ -114,6 +112,9 @@
color: $color-shuttle-gray
border-bottom-color: $color-eastern-blue

.error
color: $color-monza

&.boxed
& > .field-wrapper
& > .field,
Expand Down

0 comments on commit ec8f50a

Please sign in to comment.