Update floating circle to appear at bottom right when tagged items exist
This commit is contained in:
parent
e8de57230e
commit
fd635c0dbc
@ -302,9 +302,9 @@ function updateTaggedCount() {
|
|||||||
taggedCircle.style.transform = 'translateY(100px)';
|
taggedCircle.style.transform = 'translateY(100px)';
|
||||||
taggedCircle.style.bottom = '-100px';
|
taggedCircle.style.bottom = '-100px';
|
||||||
} else {
|
} else {
|
||||||
// Move up to show count
|
// Move up to show count (appears at the same spot at bottom right)
|
||||||
taggedCircle.style.transform = 'translateY(-30px)';
|
taggedCircle.style.transform = 'translateY(0)';
|
||||||
taggedCircle.style.bottom = '50px';
|
taggedCircle.style.bottom = '20px';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user