From 3280b14ed6208a672c4c86878e3b80e3fcb14c32 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 18 Dec 2013 23:49:51 +0100 Subject: CSS : style pour les titres trop long (corrections 2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correction de https://github.com/marienfressinaud/FreshRSS/commit/5c779a09eb32507fb85e96d647ed1358a93678f2 En réponse à https://github.com/marienfressinaud/FreshRSS/pull/322 --- public/scripts/main.js | 4 ++-- public/themes/default/freshrss.css | 4 ++-- public/themes/flat-design/freshrss.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'public') diff --git a/public/scripts/main.js b/public/scripts/main.js index 022e0f86f..3bd23a669 100644 --- a/public/scripts/main.js +++ b/public/scripts/main.js @@ -388,9 +388,9 @@ function init_shortcuts() { } function init_stream_delegates(divStream) { - divStream.on('click', '.flux_header>.item.title, .flux_header>.item.date', function (e) { //flux_header_toggle + divStream.on('click', '.flux_header', function (e) { //flux_header_toggle var old_active = $(".flux.current"), - new_active = $(this).parent().parent(); + new_active = $(this).parent(); isCollapsed = true; if (e.target.tagName.toUpperCase() === 'A') { //Leave real links alone if (auto_mark_article) { diff --git a/public/themes/default/freshrss.css b/public/themes/default/freshrss.css index ed5f35ba6..b53702c07 100644 --- a/public/themes/default/freshrss.css +++ b/public/themes/default/freshrss.css @@ -289,10 +289,10 @@ white-space: nowrap; text-overflow: ellipsis; } - .flux .item.title:hover { + .flux:hover .item.title { overflow: visible; - position: absolute; padding-right: 1.5em; + position: absolute; } .flux .item.title a { color: #000; diff --git a/public/themes/flat-design/freshrss.css b/public/themes/flat-design/freshrss.css index 055e8bf8b..bbe477c04 100644 --- a/public/themes/flat-design/freshrss.css +++ b/public/themes/flat-design/freshrss.css @@ -271,10 +271,10 @@ body { white-space: nowrap; text-overflow: ellipsis; } - .flux .item.title:hover { + .flux:hover .item.title { overflow: visible; - position: absolute; padding-right: 1.5em; + position: absolute; } .flux .item.title a { color: #333; -- cgit v1.2.3