Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Fix vertical alignment of 3rd-party service's title on the login form
Browse files Browse the repository at this point in the history
  • Loading branch information
artkravchenko committed Sep 22, 2017
1 parent b891b96 commit 0c2c144
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/alt-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default class AltButton extends React.Component {
return (
<button className={cn} type="button" {...restProps}>
<Icon {...finalIcon} />
{this.props.children}
<span>{this.props.children}</span>
</button>
);
}
Expand Down
7 changes: 6 additions & 1 deletion src/less/blocks/form.less
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@
width: 32px;
height: 32px;
}


> span {
display: flex;
align-items: center;
}

&--theme {
// use with 'm' icon size
&_paper {
Expand Down

0 comments on commit 0c2c144

Please sign in to comment.