mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-20 10:14:33 -04:00
UI: Align article one entry lower
https://github.com/marienfressinaud/FreshRSS/issues/470
This commit is contained in:
1 parent
b5e60062a5
commit
40df0eb452
1 file changed
+2
-5
+2
-5
@@ -236,14 +236,11 @@ function toggleContent(new_active, old_active) {
|
||||
relative_move = true;
|
||||
}
|
||||
|
||||
var new_pos = new_active.position().top,
|
||||
old_scroll = $(box_to_move).scrollTop();
|
||||
if (sticky_post) {
|
||||
if (hide_posts) {
|
||||
|
||||
new_pos = new_active.position().top;
|
||||
var new_pos = new_active.position().top - new_active.children('.flux_header').outerHeight(),
|
||||
old_scroll = $(box_to_move).scrollTop();
|
||||
|
||||
if (hide_posts) {
|
||||
if (relative_move) {
|
||||
new_pos += old_scroll;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user