mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-25 01:36:43 -06:00
Fix bug
This commit is contained in:
parent
cc92c3c4e1
commit
65d564490a
2 changed files with 4 additions and 2 deletions
|
@ -47,6 +47,7 @@ export default Vue.extend({
|
|||
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
|
||||
const isHisasiburi = ago >= 3600;
|
||||
if (isHisasiburi) {
|
||||
(this.$refs.welcomeback as any).style.display = 'block';
|
||||
(this.$refs.main as any).style.overflow = 'hidden';
|
||||
|
||||
anime({
|
||||
|
@ -122,7 +123,7 @@ export default Vue.extend({
|
|||
user-select none
|
||||
|
||||
> p
|
||||
display block
|
||||
display none
|
||||
position absolute
|
||||
top 48px
|
||||
width 100%
|
||||
|
|
|
@ -57,6 +57,7 @@ export default Vue.extend({
|
|||
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
|
||||
const isHisasiburi = ago >= 3600;
|
||||
if (isHisasiburi) {
|
||||
(this.$refs.welcomeback as any).style.display = 'block';
|
||||
(this.$refs.main as any).style.overflow = 'hidden';
|
||||
|
||||
anime({
|
||||
|
@ -149,7 +150,7 @@ export default Vue.extend({
|
|||
background-color rgba(#1b2023, 0.75)
|
||||
|
||||
> p
|
||||
display block
|
||||
display none
|
||||
position absolute
|
||||
z-index 1002
|
||||
top $height
|
||||
|
|
Loading…
Reference in a new issue