Center Login container
This commit is contained in:
parent
1267f91935
commit
fbd54942b5
@ -1,6 +1,6 @@
|
||||
// # Temporary Admin UI
|
||||
|
||||
/*global document, jQuery */
|
||||
/*global window, document, jQuery */
|
||||
|
||||
(function ($) {
|
||||
"use strict";
|
||||
@ -31,6 +31,12 @@
|
||||
}
|
||||
});
|
||||
|
||||
// LOGIN SCREEN
|
||||
|
||||
var loginContainer = $(".js-login-container"),
|
||||
marginTop = Math.round(($(window).height() - loginContainer.height()) / 2);
|
||||
loginContainer.css('margin-top', marginTop);
|
||||
|
||||
// EDITOR / NOTIFICATIONS
|
||||
|
||||
$('.entry-content header, .entry-preview header').on('click', function () {
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{!< default}}
|
||||
<section class="login-box">
|
||||
<section class="login-box js-login-container">
|
||||
<form id="login" method="post">
|
||||
<div class="email-wrap">
|
||||
<input class="email" type="text" placeholder="Email Address" name="email">
|
||||
|
Loading…
Reference in New Issue
Block a user