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