A phone row's second line starts under the title, its date on the title's line (#500)
The line under an unread title (an episode's length) started under the unread dot, and the date was centred on the row, so a two-line row's date sat between its lines, off line with every other row's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqkrVCCH8YcP2Y3i8VNYWA
This commit is contained in:
@@ -3293,6 +3293,11 @@ test.describe('on a phone', () => {
|
|||||||
await page.locator('#feedlist .feed', { hasText: 'Seasoned Show' }).click();
|
await page.locator('#feedlist .feed', { hasText: 'Seasoned Show' }).click();
|
||||||
await expect(row.locator('.t [role=img][aria-label="Unread"]')).toBeVisible();
|
await expect(row.locator('.t [role=img][aria-label="Unread"]')).toBeVisible();
|
||||||
await expect(row.locator('.line [aria-label="Pinned"]')).toBeVisible();
|
await expect(row.locator('.line [aria-label="Pinned"]')).toBeVisible();
|
||||||
|
// What is under the title starts where its text does, past the dot, and the date is on the
|
||||||
|
// title's line, not centred between the two.
|
||||||
|
const [dot, mark, title, date] = await Promise.all(['.udot', '.pinmark', '.t', '.date'].map(s => row.locator(s).boundingBox()));
|
||||||
|
expect(Math.abs(mark!.x - (dot!.x + dot!.width + 7))).toBeLessThan(2);
|
||||||
|
expect(date!.y + date!.height).toBeLessThan(title!.y + title!.height + 3);
|
||||||
await flags({ read: true, flagged: false });
|
await flags({ read: true, flagged: false });
|
||||||
await page.reload();
|
await page.reload();
|
||||||
await page.locator('#burger').click();
|
await page.locator('#burger').click();
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- On a phone, the line under an unread episode's title starts where the title does, past its dot, and the date sits on the title's line instead of between the two (#500).
|
||||||
|
|
||||||
- The count under All Subscriptions counts only its own unread items, not those of feeds hidden from it, so it agrees with the header (#499).
|
- The count under All Subscriptions counts only its own unread items, not those of feeds hidden from it, so it agrees with the header (#499).
|
||||||
- An item without a title is named in bold like the rest of the list, not in regular weight beside them (#498).
|
- An item without a title is named in bold like the rest of the list, not in regular weight beside them (#498).
|
||||||
- The X on a playlist's episode marks it played again; it did nothing (#497).
|
- The X on a playlist's episode marks it played again; it did nothing (#497).
|
||||||
|
|||||||
@@ -1426,6 +1426,10 @@ body:has(#player.on) #status{padding-bottom:3px}
|
|||||||
.ep .st,.ep .fl{display:none}
|
.ep .st,.ep .fl{display:none}
|
||||||
.ep,#split.one .ep{grid-template-columns:minmax(0,1fr) auto}
|
.ep,#split.one .ep{grid-template-columns:minmax(0,1fr) auto}
|
||||||
.ep:not(.read) .udot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--accent2);margin-inline-end:7px;vertical-align:.12em}
|
.ep:not(.read) .udot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--accent2);margin-inline-end:7px;vertical-align:.12em}
|
||||||
|
/* The line under an unread title starts where the title's text does, past the dot, and the date
|
||||||
|
sits on the title's baseline: centred on the row, it floated between the two lines. */
|
||||||
|
.ep:not(.read) .line{padding-inline-start:16px}
|
||||||
|
.ep .date{align-self:baseline}
|
||||||
.ep .pinmark{display:inline-flex;color:var(--dim)}
|
.ep .pinmark{display:inline-flex;color:var(--dim)}
|
||||||
.ep .pinmark+.dot{display:block}
|
.ep .pinmark+.dot{display:block}
|
||||||
.ep .pinmark svg{width:.9em;height:.9em}
|
.ep .pinmark svg{width:.9em;height:.9em}
|
||||||
|
|||||||
Reference in New Issue
Block a user