ソースを参照

CSS : notifications absolute plutôt que fixed

pour éviter qu'elles restent au milieu (surtout sur mobile) lorsqu'on
défile vers le bas et gênent la lecture (ou devoir attendre ou fermer
manuellement)
Alexandre Alapetite 12 年 前
コミット
4098098bd2
2 ファイル変更2 行追加2 行削除
  1. 1 1
      p/themes/default/freshrss.css
  2. 1 1
      p/themes/flat-design/freshrss.css

+ 1 - 1
p/themes/default/freshrss.css

@@ -567,7 +567,7 @@
 
 
 /*** NOTIFICATION ***/
 /*** NOTIFICATION ***/
 .notification {
 .notification {
-	position: fixed;
+	position: absolute;
 	top: 10px;
 	top: 10px;
 	left: 25%; right: 25%;
 	left: 25%; right: 25%;
 	min-height: 30px;
 	min-height: 30px;

+ 1 - 1
p/themes/flat-design/freshrss.css

@@ -555,7 +555,7 @@ body {
 
 
 /*** NOTIFICATION ***/
 /*** NOTIFICATION ***/
 .notification {
 .notification {
-	position: fixed;
+	position: absolute;
 	top: 10px;
 	top: 10px;
 	left: 25%; right: 25%;
 	left: 25%; right: 25%;
 	min-height: 30px;
 	min-height: 30px;