Bläddra i källkod

Revert "fix(themes): keep article nav bar pinned to bottom in iOS standalone PWAs (#8933)" (#8934)

This reverts commit 5c5b0b9e66b57ebddf879862acd32a727f6e31fd (PR #8933).

The `transform: translateZ(0)` added to #nav_entries promotes the element to
its own compositor layer, but a non-`none` transform also makes the element a
containing block for `position: fixed` descendants and establishes a new
stacking context. That side effect introduced a regression, so this restores
the previous behaviour while a less invasive fix for #8829 is worked out.

Reverting the whole PR (CSS + CREDITS.md) for a clean rollback.
Antonio Santos 1 vecka sedan
förälder
incheckning
bcf536290d
3 ändrade filer med 0 tillägg och 9 borttagningar
  1. 0 1
      CREDITS.md
  2. 0 4
      p/themes/base-theme/frss.css
  3. 0 4
      p/themes/base-theme/frss.rtl.css

+ 0 - 1
CREDITS.md

@@ -31,7 +31,6 @@ People are sorted by name so please keep this order.
 * [Andy Valencia](https://github.com/vandys): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:vandys), [Web](https://www.vsta.org/andy/)
 * [Annika Backstrom](https://github.com/abackstrom): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:abackstrom), [Web](https://sixohthree.com/)
 * [Anton Smirnov](https://github.com/arokettu): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:arokettu), [Web](https://sandfox.me/)
-* [Antonio Santos](https://github.com/Otolock): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Otolock), [Web](https://antoniosantos.io/)
 * [ArthurHoaro](https://github.com/ArthurHoaro): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:ArthurHoaro)
 * [Artur Weigandt](https://github.com/Art4): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Art4), [Web](https://ruhr.social/@Art4)
 * [ASMfreaK](https://github.com/ASMfreaK): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:ASMfreaK)

+ 0 - 4
p/themes/base-theme/frss.css

@@ -1927,10 +1927,6 @@ a.website:hover .favicon {
 	width: var(--width-aside);
 	padding-bottom: env(safe-area-inset-bottom);
 	z-index: 50;
-	/* Promote to its own compositor layer so iOS standalone PWAs keep the bar
-	   pinned to the viewport after a programmatic scroll (e.g. prev/next entry),
-	   working around a WebKit bug that otherwise lets it drift to mid-screen. */
-	transform: translateZ(0);
 }
 
 .aside:not(.visible) ~ #nav_entries {

+ 0 - 4
p/themes/base-theme/frss.rtl.css

@@ -1927,10 +1927,6 @@ a.website:hover .favicon {
 	width: var(--width-aside);
 	padding-bottom: env(safe-area-inset-bottom);
 	z-index: 50;
-	/* Promote to its own compositor layer so iOS standalone PWAs keep the bar
-	   pinned to the viewport after a programmatic scroll (e.g. prev/next entry),
-	   working around a WebKit bug that otherwise lets it drift to mid-screen. */
-	transform: translateZ(0);
 }
 
 .aside:not(.visible) ~ #nav_entries {