aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-18 23:49:51 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-18 23:49:51 +0100
commit3280b14ed6208a672c4c86878e3b80e3fcb14c32 (patch)
treefe91b2e007992a9b62525e26da0bc1e0ba35b21f
parent5c779a09eb32507fb85e96d647ed1358a93678f2 (diff)
CSS : style pour les titres trop long (corrections 2)
Correction de https://github.com/marienfressinaud/FreshRSS/commit/5c779a09eb32507fb85e96d647ed1358a93678f2 En réponse à https://github.com/marienfressinaud/FreshRSS/pull/322
-rw-r--r--public/scripts/main.js4
-rw-r--r--public/themes/default/freshrss.css4
-rw-r--r--public/themes/flat-design/freshrss.css4
3 files changed, 6 insertions, 6 deletions
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;