1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00

🐛 Fixed button style for staff creation

no refs.
- Fixed Create button being visually detached and incorrect size on the Create (staff) account screen
This commit is contained in:
Peter Zimon 2020-01-21 12:14:35 +01:00
parent 8526d98156
commit 479ed5a25b
2 changed files with 8 additions and 9 deletions

View file

@ -265,6 +265,11 @@
box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.1);
}
.gh-flow-create .gh-btn-create-account span {
height: 37px;
line-height: 37px;
}
.gh-flow-content .account-image {
position: absolute;
top: -50px;

View file

@ -71,16 +71,10 @@
</span>
<GhErrorMessage @errors={{this.signupDetails.errors}} @property="password" />
</GhFormGroup>
</form>
<GhTaskButton @buttonText="Create Account"
@type="submit"
@form="signup"
@defaultClick={{true}}
@runningText="Creating"
@task={{this.signup}}
@class="gh-btn gh-btn-green gh-btn-lg gh-btn-block gh-btn-icon"
@tabindex="3" />
<GhTaskButton @buttonText="Create Account" @type="submit" @form="signup" @defaultClick={{true}} @runningText="Creating"
@task={{this.signup}} @class="gh-btn-create-account gh-btn gh-btn-green gh-btn-lg gh-btn-block gh-btn-icon" @tabindex="3" />
</form>
<p class="main-error">{{if this.flowErrors this.flowErrors}}&nbsp;</p>
</section>