From e1ef122355228cbab272b2e386a6370084e66b10 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 5 Dec 2019 21:48:16 +0300 Subject: force-disable headlines smooth scrolling when switching feeds enable smooth scrolling for article frame --- themes/night_blue.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'themes/night_blue.css') diff --git a/themes/night_blue.css b/themes/night_blue.css index 16251e02c..37c901fb6 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -641,7 +641,6 @@ body.ttrss_main #headlines-frame { -webkit-overflow-scrolling: touch; -webkit-transform: translateZ(0); -webkit-backface-visibility: hidden; - scroll-behavior: smooth; } body.ttrss_main #headlines-frame div.feed-title { border: 0px solid #257aa7; @@ -658,6 +657,9 @@ 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 #toolbar-frame_splitter { display: none; } @@ -744,6 +746,7 @@ 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 { -- cgit v1.2.3