Преглед на файлове

Issue #161 : correction pour titres très longs

Un titre très long ne dépasse plus (trop) sur la gauche (voir discussion
pour commit 6525779)
Marien Fressinaud преди 12 години
родител
ревизия
9a02006b7d
променени са 2 файла, в които са добавени 9 реда и са изтрити 1 реда
  1. 4 0
      public/themes/default/freshrss.css
  2. 5 1
      public/themes/flat-design/freshrss.css

+ 4 - 0
public/themes/default/freshrss.css

@@ -183,6 +183,8 @@
 	.day .name {
 		position: absolute;
 		right: 0;
+		width: 50%;
+		height: 1.5em;
 		padding: 0 10px 0 0;
 		overflow: hidden;
 		color: #aab;
@@ -190,6 +192,7 @@
 		opacity: .3;
 		text-shadow: 0px -1px 0px #333;
 		font-style: italic;
+		text-align: right;
 	}
 
 .flux {
@@ -696,6 +699,7 @@
 		display: none;
 	}
 	.day .name {
+		height: 2.6em;
 		font-size: 1em;
 		text-shadow: none;
 	}

+ 5 - 1
public/themes/flat-design/freshrss.css

@@ -182,13 +182,16 @@ body {
 	.day .name {
 		position: absolute;
 		right: 0;
+		width: 50%;
+		height: 1.5em;
 		padding: 0 10px 0 0;
 		overflow: hidden;
 		color: #aab;
 		font-size: 1.8em;
 		opacity: .3;
-		text-shadow: 0px -1px 0px #333;
 		font-style: italic;
+		text-align: right;
+		z-index: -10;
 	}
 
 .flux {
@@ -709,6 +712,7 @@ body {
 		display: none;
 	}
 	.day .name {
+		height: 2.6em;
 		font-size: 1em;
 		text-shadow: none;
 	}