Browse Source

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 năm trước cách đây
mục cha
commit
4098098bd2
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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 {
-	position: fixed;
+	position: absolute;
 	top: 10px;
 	left: 25%; right: 25%;
 	min-height: 30px;

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

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