Skip to content

Commit

Permalink
fix alignment issues on user tokens page (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stas Vilchik authored and SonarTech committed May 25, 2018
1 parent 1993032 commit 162162b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Expand Up @@ -148,7 +148,11 @@ export default class TokensForm extends React.PureComponent<Props, State> {
return (
<>
<h3 className="spacer-bottom">{translate('users.generate_tokens')}</h3>
<form autoComplete="off" id="generate-token-form" onSubmit={this.handleGenerateToken}>
<form
autoComplete="off"
className="display-flex-center"
id="generate-token-form"
onSubmit={this.handleGenerateToken}>
<input
className="spacer-right"
maxLength={100}
Expand Down
2 changes: 1 addition & 1 deletion server/sonar-web/src/main/js/components/ui/buttons.css
Expand Up @@ -20,6 +20,7 @@
.button {
display: inline-flex;
align-items: center;
justify-content: center;
vertical-align: middle;
height: var(--controlHeight);
line-height: calc(var(--controlHeight) - 2px);
Expand All @@ -31,7 +32,6 @@
color: var(--darkBlue);
font-weight: 600;
font-size: var(--smallFontSize);
text-align: center;
text-decoration: none;
cursor: pointer;
outline: none;
Expand Down

0 comments on commit 162162b

Please sign in to comment.