1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 08:25:55 +00:00

- RIP smooth scrolling and associated hacks

- attempt to make Headlines.move() / Article.cdmMoveToId() behave a bit more intuitively
This commit is contained in:
Andrew Dolgov
2020-05-22 21:48:03 +03:00
parent c8cc845d5b
commit 409ba0db2d
15 changed files with 59 additions and 141 deletions

View File

@@ -668,16 +668,6 @@ body.ttrss_main #headlines-frame div.feed-title a {
body.ttrss_main #headlines-frame div.feed-title a:hover {
color: #257aa7;
}
body.ttrss_main #headlines-frame.smooth-scroll {
scroll-behavior: smooth;
}
body.ttrss_main #headlines-frame.forbid-smooth-scroll,
body.ttrss_main #content-insert.forbid-smooth-scroll {
scroll-behavior: auto;
}
body.ttrss_main #toolbar-frame_splitter {
display: none;
}
body.ttrss_main #toolbar-frame {
padding: 0px;
margin: 0px;
@@ -761,7 +751,6 @@ body.ttrss_main #content-insert {
line-height: 1.5;
overflow: auto;
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
}
body.ttrss_main img.feed-icon,
body.ttrss_main img.icon {

File diff suppressed because one or more lines are too long

View File

@@ -668,16 +668,6 @@ body.ttrss_main #headlines-frame div.feed-title a {
body.ttrss_main #headlines-frame div.feed-title a:hover {
color: #b87d2c;
}
body.ttrss_main #headlines-frame.smooth-scroll {
scroll-behavior: smooth;
}
body.ttrss_main #headlines-frame.forbid-smooth-scroll,
body.ttrss_main #content-insert.forbid-smooth-scroll {
scroll-behavior: auto;
}
body.ttrss_main #toolbar-frame_splitter {
display: none;
}
body.ttrss_main #toolbar-frame {
padding: 0px;
margin: 0px;
@@ -761,7 +751,6 @@ body.ttrss_main #content-insert {
line-height: 1.5;
overflow: auto;
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
}
body.ttrss_main img.feed-icon,
body.ttrss_main img.icon {

File diff suppressed because one or more lines are too long

View File

@@ -668,16 +668,6 @@ body.ttrss_main #headlines-frame div.feed-title a {
body.ttrss_main #headlines-frame div.feed-title a:hover {
color: #257aa7;
}
body.ttrss_main #headlines-frame.smooth-scroll {
scroll-behavior: smooth;
}
body.ttrss_main #headlines-frame.forbid-smooth-scroll,
body.ttrss_main #content-insert.forbid-smooth-scroll {
scroll-behavior: auto;
}
body.ttrss_main #toolbar-frame_splitter {
display: none;
}
body.ttrss_main #toolbar-frame {
padding: 0px;
margin: 0px;
@@ -761,7 +751,6 @@ body.ttrss_main #content-insert {
line-height: 1.5;
overflow: auto;
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
}
body.ttrss_main img.feed-icon,
body.ttrss_main img.icon {

File diff suppressed because one or more lines are too long

View File

@@ -784,19 +784,6 @@ body.ttrss_main {
}
}
#headlines-frame.smooth-scroll {
scroll-behavior: smooth;
}
#headlines-frame.forbid-smooth-scroll,
#content-insert.forbid-smooth-scroll {
scroll-behavior : auto;
}
#toolbar-frame_splitter {
display : none;
}
#toolbar-frame {
padding : 0px;
margin : 0px;
@@ -892,7 +879,6 @@ body.ttrss_main {
line-height: 1.5;
overflow : auto;
-webkit-overflow-scrolling : touch;
scroll-behavior: smooth;
}
img.feed-icon, img.icon {

View File

@@ -669,16 +669,6 @@ body.ttrss_main #headlines-frame div.feed-title a {
body.ttrss_main #headlines-frame div.feed-title a:hover {
color: #b87d2c;
}
body.ttrss_main #headlines-frame.smooth-scroll {
scroll-behavior: smooth;
}
body.ttrss_main #headlines-frame.forbid-smooth-scroll,
body.ttrss_main #content-insert.forbid-smooth-scroll {
scroll-behavior: auto;
}
body.ttrss_main #toolbar-frame_splitter {
display: none;
}
body.ttrss_main #toolbar-frame {
padding: 0px;
margin: 0px;
@@ -762,7 +752,6 @@ body.ttrss_main #content-insert {
line-height: 1.5;
overflow: auto;
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
}
body.ttrss_main img.feed-icon,
body.ttrss_main img.icon {

File diff suppressed because one or more lines are too long

View File

@@ -669,16 +669,6 @@ body.ttrss_main #headlines-frame div.feed-title a {
body.ttrss_main #headlines-frame div.feed-title a:hover {
color: #257aa7;
}
body.ttrss_main #headlines-frame.smooth-scroll {
scroll-behavior: smooth;
}
body.ttrss_main #headlines-frame.forbid-smooth-scroll,
body.ttrss_main #content-insert.forbid-smooth-scroll {
scroll-behavior: auto;
}
body.ttrss_main #toolbar-frame_splitter {
display: none;
}
body.ttrss_main #toolbar-frame {
padding: 0px;
margin: 0px;
@@ -762,7 +752,6 @@ body.ttrss_main #content-insert {
line-height: 1.5;
overflow: auto;
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
}
body.ttrss_main img.feed-icon,
body.ttrss_main img.icon {

File diff suppressed because one or more lines are too long