mirror of
https://github.com/flarum/core.git
synced 2025-07-20 08:11:27 +02:00
Improve LoginButton styles, make popup window smaller
This commit is contained in:
@@ -13,8 +13,8 @@ export default class LogInButton extends Button {
|
|||||||
props.className = (props.className || '') + ' LogInButton';
|
props.className = (props.className || '') + ' LogInButton';
|
||||||
|
|
||||||
props.onclick = function() {
|
props.onclick = function() {
|
||||||
const width = 1000;
|
const width = 600;
|
||||||
const height = 500;
|
const height = 400;
|
||||||
const $window = $(window);
|
const $window = $(window);
|
||||||
|
|
||||||
window.open(app.forum.attribute('baseUrl') + props.path, 'logInPopup',
|
window.open(app.forum.attribute('baseUrl') + props.path, 'logInPopup',
|
||||||
|
@@ -1,5 +1,11 @@
|
|||||||
.LogInButton {
|
.LogInButton {
|
||||||
&:extend(.Button--block);
|
&:extend(.Button--block);
|
||||||
|
|
||||||
|
.Button-icon {
|
||||||
|
font-size: 18px;
|
||||||
|
vertical-align: -1px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.LogInButtons {
|
.LogInButtons {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
|
Reference in New Issue
Block a user