Переглянути джерело

Fix article hover date visibility (#8997)

- Keep the article title in its own grid area on hover when the article row also shows a date.
- Restore a small spacing between the hovered title and the date.
- Regenerate the RTL stylesheet counterpart.

Fixes #8994

## Screenshots

![FreshRSS #8994 hover date comparison](https://raw.githubusercontent.com/JamBalaya56562/FreshRSS/assets-8994-hover-date/docs/screenshots/freshrss-8994-hover-date-comparison.png)

The comparison uses a synthetic hover fixture with FreshRSS article-row DOM and theme CSS, so no local feed data is included.
Jam Balaya 7 годин тому
батько
коміт
5014915c40
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      p/themes/base-theme/frss.css
  2. 1 1
      p/themes/base-theme/frss.rtl.css

+ 1 - 1
p/themes/base-theme/frss.css

@@ -1511,7 +1511,7 @@ a.website:hover .favicon {
 }
 
 .flux:not(.current):hover .flux_header.has-date .item .title {
-	grid-column: 1 / -1;
+	padding-right: 0.5rem;
 	z-index: 2;
 }
 

+ 1 - 1
p/themes/base-theme/frss.rtl.css

@@ -1511,7 +1511,7 @@ a.website:hover .favicon {
 }
 
 .flux:not(.current):hover .flux_header.has-date .item .title {
-	grid-column: 1 / -1;
+	padding-left: 0.5rem;
 	z-index: 2;
 }