ソースを参照

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
Alexandre Alapetite 12 年 前
コミット
3280b14ed6

+ 2 - 2
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) {

+ 2 - 2
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;

+ 2 - 2
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;