Repository navigation
Let a message head's words use its hidden controls' room, and cut a squeezed head's time before its name - #4661
Merged
Merged
Conversation
A reaction the user added wore the same grey chip and contour as a choice under the pointer, so in the open palette yours and a hovered neighbour looked alike, and pointing at your own changed nothing. It now rests on the accent tint inside an accent contour, and the tint deepens under the pointer or focus, as an idle choice's chip rises. The user picked this face from three candidates on the canonical-element-faces page. Margin reactions keep their own family's face. The reopened-picker test now holds the contour constant through opening, hover and focus, and expects the tint to answer the pointer; it previously asserted that hover changed nothing.
…thor beside held news Four presses sit in a line of words and each drew a face of its own: a thread's held news (bold 10px, danger red), the activity feed's notice (underlined at rest), the floating panel's Next unread (body weight, a grey wash under the pointer) and a retained quote's Full quote (muted 12px, a wash). They are now built by a fifth control role, `inline`, beside symbol, word, commit and mark (`ACTION_FACES`, prepaint.js), whose one face lives in controls.css: the accent ink at weight 600 and the size of the line the press sits on, no chip, fill or border, underlined (offset 3px) under a hovering pointer. A press announcing news waiting carries `data-lf-news`, which the face draws in the danger ink, as it does the words a seat's Resolved summary says its threads hold. The progress run's "Show N progress messages" disclosure shares the class with Full quote and takes the face. What changed for each: - Held news: 600 at the head's line (`--t-6`, 11.5px) instead of 700 10px; in the panel's crumb it takes the crumb's 13px on a line an em tall, so its arrival still grows no line. - The activity feed's notice: no underline until hovered. The feed states its line (`--t-5`, sans) once, on `lf-activity`, and the notice inherits it. - Next unread: weight 600, no wash; it keeps its symbol, padding and height. - Full quote: accent 13px (the quote's size) instead of muted 12px; no wash. - The steps disclosure: 11.5px (its head's size) instead of 11px. Each surface's colour, size, weight, decoration and ring rules for these presses are gone, keeping only placement; `.lf-thread-notice` and `.lf-thread-notice-news` no longer exist. A margin card holding news cut the head of the user's message to "M51d ago": the notice, drawn whole in the actions row, left the heads' track 41px. The notice now takes at most the room a notice beside a head's words takes in a primary reader (`--lf-news-width`, renamed from `--lf-primary-news-width`), drops the facts past it and counts them, so the card reads "Me 51d ago 1 new reply +1". The count stands just past the last fact shown rather than at the room's end, so it reads with the words, and its room is in the notice's own size. Rejected: the time giving way while news waits, which frees 43px, too little for a name beside a whole notice; and the notice wrapping beneath the actions, over the first message's words. A phone's 320px card is still too narrow for the user's name beside its Edit control, three 44px controls and the notice's first fact. `floating-thread-unread` (and `-dark`) is a new stills state that offers Next unread. `test_a_card_s_head_keeps_the_user_s_name_and_time_beside_news` is new and fails on the base with the time cut; tests and stills that found the notice by `.lf-thread-notice-news` find it by `.lf-thread-news`.
…for its first fact On a phone's margin card holding news, the head of the user's message still read "M51d ago": the notice stood at a notice's room (`--lf-news-width`) whatever the head beside it needed. A margin card now measures that room: the notice's width and the narrowest head's width beyond its padding, name, gap and time, which the actions' track and the heads' track trade one for one (thread-card.js, `#fitMarginNews`, `--lf-news-room`), watched as a time ticks on. The notice takes no more. Where even its first fact would be cut, the notice now says one count of all that waits instead, "2 new", or "+2" where that doesn't fit either (`data-lf-short`). The existing drop-and-count observer decides it from the cut it already reads; the facts keep their places, unseen, so what it measures doesn't change with what it shows and the accessible name still says every fact. The count is the sum of the news's counts, a settling counting as one, measured with the runtime's `textWidth`. A desktop card is unchanged: the room is wider than a notice's, so it still reads "Me 51d ago 1 new reply +1". A 320px phone card can't hold the head's name, time and Edit beside three 44px controls and a 44px notice, so its heads now give up the time before the name: annotations, then the time, then the name, each with an ellipsis. That reverses #3104's order, in which the time was never cut; the phone card reads "Me 5… ✎ 2 new". `test_a_card_s_head_keeps_the_user_s_name_beside_news` now runs at a desktop and a phone width; the phone case asserts "2 new" and "Me" whole.
… agent-a74c429ce3b83abee
27f92a8 had a margin card's head give up its time before its name. This restores #3104's order: the annotations after the time first, then the name, and the time is never cut. The defect was the notice drawn over the head, which the notice's fitted room and its one count fix by themselves. A phone's 320px card now reads "M 51d ago ✎ 2 new": the notice stands clear of the head and the time is whole. Beside a finger-wide Edit, the name has no content room left, so its first letter shows cut in its padding. The margin card refits its notice's room when a head's time changes size, in the next frame rather than inside the size observer's delivery, and watches only the times, whose size the fit doesn't change. Fitting inside the delivery resized boxes the delivery had already passed, which Chrome reported as "ResizeObserver loop completed with undelivered notifications". `test_a_card_s_head_stands_whole_beside_news` (renamed from `…_keeps_the_user_s_name_beside_news`) now asserts on a phone that the notice says "2 new" and stands clear of the head, the time stands whole and clear of the Edit, and the name is cut with an ellipsis.
# Conflicts: # browser/styles/components/surfaces.css # dist/kernel/kernel.json # dist/kernel/runtime/bundle-data.js # dist/kernel/runtime/widget-api.js
…e news count A phone's margin card holding news read "M51d ago": the name, squeezed to no room, kept the gap before the time as its own padding, so a sliver of its first letter stood in the gap against the time (main's desktop card showed the same). The gap is now the time's: the metadata carries it as padding, with its ground over it as the name's was, so a name cut to nothing takes no box and the time starts clean. Where a head the notice still leaves short would show less than an em of its name, which is a sliver of a letter or of the ellipsis, the margin card's fit gives the name no width (`data-lf-nameless`, thread-card.js). #3104's order holds: the annotations, then the name, and the time is never cut. The phone card reads "51d ago ✎ 2 new". The fit reads a head's words at the fraction of a pixel they are laid out at, from a range, rather than by scrollWidth, which rounds a whole name and counts a cut one's ellipsis; a 0.3px shortfall had left a desktop head reading "M…". The notice's counts, "+1" past its facts and the one count that replaces them, stand out of the words' flow, so the face's underline under the pointer stopped at the facts and "+1" read as something apart. They now inherit it through the words. The one count hides the facts by visibility rather than by a transparent colour, so the underline they still carried isn't drawn under nothing; the title names the press while they are hidden. The phone case of `test_a_card_s_head_stands_whole_beside_news` now asserts that the name takes no box. Its desktop case no longer asserts the notice's full facts: since main gave a head's Copy and Edit their room, the desktop card says one count too.
# Conflicts: # dist/kernel/kernel.json
… hide A head kept the room for its message's Edit and Copy (or reactions and Copy) at its end at all times, though they show only under the pointer or focus. On a margin card that cut a queued message's receipt to "Me just now · Qu…" beside 60px of blank room. The room is now the head's last flex box (`.lf-msg-head::after`, controls.css) instead of padding. It keeps its width in the head's intrinsic size, so a card sized to its words is as wide as before. While the controls show it stands whole; while they hide it is the first thing a short head gives up, so the words run on into it and give it back, cut with their ellipsis, when the controls show. The controls stand at the head's end, so nothing moves. The room stays whole where something always shows in it or stands before it: an open rewrite's Discard and Save, a primary reader's news, a page thread's headline with its notice slot, and every head under a finger. `--lf-msg-control` is registered as a length so the margin card's news fit reads it: the fit counts the room at rest too, so a pointer reaching for Edit cuts no name the notice left room for. Margin heads that keep no room now say so with `--lf-msg-control: 0px` rather than zero padding. Behavior changed: at rest a head's annotations show up to the head's end; `test_a_head_s_words_take_its_controls_room_while_they_hide` covers it. Co-Authored-By: Claude Code <[email protected]>
816f796 moved the 8px gap before a margin head's time from the name's padding to the metadata's, so a name squeezed to nothing would leave no sliver of its first letter there. The name's ground spans that gap so an annotation rising under the head never shows through it, and `test_a_stuck_card_head_keeps_the_name_and_lets_its_annotations_scroll_out` checks that the gap reads as the name: with the metadata holding it, the point left of the time hit the metadata, and the test failed in both widths. The annotations themselves still scrolled out ("edited" moved 6px with the reply's first line). The gap is the name's again. A name the margin card's fit leaves less than an em (`data-lf-nameless`, thread-card.js) now draws its letters transparent as well as taking no content width, so the gap keeps the name's ground and shows no sliver: a phone's card holding news still reads "51d ago ✎ 2 new". The phone case of `test_a_card_s_head_stands_whole_beside_news` asserts the nameless name's letters are transparent rather than that its box is empty.
… head-annotation-room
…accent Seven lists drew their rows six ways: the floating panel washed its rows in a 5% ink, the command reference laid the word chip under its row, the Page Map darkened the chip with 8% ink, a timeline step and a visual-review case took the generic offer shadow, and a recording's moments took the word chip. The current row had four faces: weight 600 in Versions, accent words on the accent tint for a recording's moment, a 4% ink wash with an ink underline for a visual-review case (close enough to its own hover that the two read alike), and the accent stripe on the tint for a timeline step. The `word` role claimed to cover a row of a list or menu, but no row wore it, and its muted ink would have dimmed every label. A fifth role, `row` (`lf-row`, controls.css), draws them all: the label in the ink at the list's own type; under the pointer or the keys (`data-lf-focus-visible`, or a listbox's `aria-selected`) the offer's wash, now the token `--offer-hover`, laid over the row's own ground as an image so a list's tint shows through; and the row the list stands on (`aria-current`) on the accent tint with a 2px accent stripe at its start, square-cornered. Every row keeps the stripe's room as a transparent border, so the wash never hides the stripe and marking the current row moves no words. The user picked this face from candidate captures (chip hover with stripe, wash hover with weight, and this mix) on 28 October. Moved onto it, each surface's own hover and current rules deleted: - The floating panel's menu, Versions and Threads rows, On me's item lines, All pages' links, and the menu's Back. Versions marks its current row's press with `aria-current` (`menuItem`'s `current`) rather than weight; the wrapper keeps `data-current`. - The view's Back is a row too, so both Backs are one face: chevron and destination in the ink with the row's wash. It reaches out past its words by its padding and the stripe room, so its words stay where they were. - The command reference's rows (on the row, not the stretched button) and the Page Map's presses; a Page Map status keeps the stripe room so its words share the presses' edge. - lf-timeline's steps, through `selectableOfferElement`'s new optional fourth argument, the action role whose face a selectable press wears; lf-trace's saved moments; visual-review cases, which stay square since a rule parts them. Each list keeps what is its own: Threads lights a thread's passage under the pointer (`.lf-mark-hover` still replaces the wash there), a timeline mutes the steps still ahead, and the Page Map tints a thread on the user's turn with the wash over it. Rows padded 2px less at the start where they had no border before, so words stay put; a recording's moment gives back the 1px all round the word face's border kept. `selectableOffer`/`selectableOffered` and the TS declarations take the face role; module-authoring.md lists `row` and drops the word role's claim to rows. `test_no_rule_rounds_a_box_edged_on_one_side` now treats a transparent side as no stripe, since it draws no edge; the room every row keeps is one. Visible changes beyond the unification: the panel's hover wash is 7% ink where it was 5%; a disabled menu row (Undo with nothing to undo) dims by the offer's 0.55 opacity rather than the panel's 72% ink; Copy Leaf version and Copy link read in the ink rather than `--ink-2`; a recording's current moment reads in the ink rather than the accent.
The row face rounded its wash but squared its current row, as the visual grammar requires of a striped box, so where a hovered row sat under the current one the two fills met with a notch (a recording's moments, a visual review's cases), and a visual review's hover was square besides. A row is now square in every state, the Page Map's and All pages' rows included, so rows stack edge to edge. In the panel's menu the square wash stands 6px inside the menu's rounded corners, which reads as a band across the list rather than a box on it. A timeline step's wash now runs the step's full width square at both ends, as its current step does. The two ways back were two shapes: the view's hugged its words and the menu's ran the menu's width, with their words 4px apart. Both are now one press (`:is(.lf-fp-back, .lf-fp-menu-back)`): as wide as their words, since a view's way back shares its line with the thread's facts and presses and so can't run the panel's width, and in the menu that width says the press leaves the list rather than standing in it. Each holds its chevron 8px into its wash with 4px before the words, so the menu's starts on its rows' edge and the view's reaches out by those 8px to start on the view's words. The menu's way back drops `.lf-fp-item` and its label wrapper. A visual review's case keeps 6px between the stripe and its numeral, as the panel's rows do; it had 2px.
# Conflicts: # dist/kernel/kernel.json # packages/default/styles/activity.css
…faces # Conflicts: # browser/runtime/floating-panel.js # dist/kernel/kernel.json # dist/kernel/leaf.js # packages/default/styles/activity.css
… head-annotation-room # Conflicts: # dist/kernel/kernel.json
In a margin card held to 236px the head of the user's message read "M…just now", the ellipsis flush against the time. The browser keeps a cut name's first letter and draws the ellipsis after it even where the name's words have no room for both, and the name's clip stood at its padding box, where the gap before the time was its padding. The gap is now a transparent border instead: the name's ground still spans it, so an annotation rising under the head stays hidden and the scroll-out test still finds the name in the gap, and the clip stops short of it, so nothing of the name is drawn there. "M…" takes 23.2px at the name's size, and that head leaves the name 9.6px beside the time (never cut) and the room its Copy and Edit keep, so it now reads "M just now", the first letter whole but for its last pixel and no ellipsis. With the clip at the words' edge a nameless name no longer needs transparent letters; its box gives its words no width. `test_a_cut_name_leaves_the_gap_before_the_time_clear` holds the gap unpainted in that 236px card and fails with the gap as padding; the phone case of `test_a_card_s_head_stands_whole_beside_news` asserts the nameless name's words have no width.
… head-annotation-room
…its controls' room test_a_cut_name_leaves_the_gap_before_the_time_clear cut "Me" on a 236px card by the room the head held for its hidden controls. On this branch that room is the words' while the controls hide, so at rest "Me" stands whole; the test now points at the message, where the controls show and the room is held, and checks the same gap. Co-Authored-By: Claude Code <[email protected]>
# Conflicts: # browser/styles/floating-panel.css # dist/kernel/kernel.json
…faces # Conflicts: # browser/styles/floating-panel.css # dist/kernel/kernel.json
…faces # Conflicts: # dist/kernel/kernel.json # dist/kernel/runtime/bundle-data.js
… head-annotation-room # Conflicts: # dist/kernel/kernel.json
Co-Authored-By: Claude Code <[email protected]>
… words The user chose (28 October 2026) to have a message's Edit and Copy cover the end of the head's words while they show, rather than have the words give their room back, cut with an ellipsis, under the pointer. The words' size then never changes on hover, as browser/AGENTS.md's stability rule asks. The controls' room stays the head's last flex box and still gives way first, now whether or not the controls show. A `::before` on the head paints the message's ground under the controls while they show, fading in over the room's first pixels as an open rewrite's Discard and Save do, so the words beneath don't show through. The head is now positioned to hold it. An open rewrite no longer holds the room whole: its pair already covers the head on its own ground. Behavior changed: under the pointer a head's annotations, and on a very narrow card its time, sit under the controls instead of being re-cut; `test_a_head_s_words_take_its_controls_room_while_they_hide` now checks that the receipt keeps its box and is covered. Co-Authored-By: Claude Code <[email protected]>
The user chose (28 October 2026) to keep a short name whole and let the time give way, reversing #3104's order. A squeezed margin head now gives up its annotations, then its time, each with an ellipsis, then its name. The metadata is a flex row again so the time can shrink after the annotations: a grid shared its free space among them evenly. The margin card's news fit counts the controls' room and the time as what a head gives up before its name, so `data-lf-nameless` marks a name only once both are gone. Tests: the phone arm of `test_a_card_s_head_stands_whole_beside_news` now expects "Me" whole and the time cut. `test_a_cut_name_leaves_the_gap_before_the_time_clear` is deleted: a name is now cut only after the time is gone, so no cut name stands beside a time. Co-Authored-By: Claude Code <[email protected]>
# Conflicts: # browser/runtime/thread/thread-card.js # dist/kernel/kernel.json # dist/kernel/runtime/bundle-data.js # tests/browser/margin/test_card_placement.py
Under a finger the room is held whole (controls.css), so the margin news fit counted room the head never gives before its name. Co-Authored-By: Claude Code <[email protected]>
Co-Authored-By: Claude Code <[email protected]>
leaf-agent
approved these changes
Oct 29, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 29, 2026
Main's #4661 lets a head's words run into its controls' room while the controls hide, and stands the controls over the words' end on the message's ground when they show (the user's pick, 28 October). It built the room as the head's ::after sized by --lf-msg-control, with a ::before ground, beside controls positioned on the head's anchor. Here the controls are one group, so the group now stands in a room of its own (.lf-msg-control-room), the head's last item: it is as wide as the group, gives up its width first, and keeps the group end-aligned, so a squeezed head's words run under the group and the group stands over them. The group paints the message's ground behind itself while it shows, and always while a rewrite's Discard and Save stand in it. The room stays whole beside a notice of news, under a finger, and, as before #4661, with one control's width while a progress disclosure waits for its answer's reaction trigger, which this branch had dropped. The news fit reads the group's width, and what part of it the room lends, rather than --lf-msg-control, whose @Property goes. The receipt test reads the controls inside the head.
max-sixty
added a commit
that referenced
this pull request
Oct 30, 2026
…4717) A thread message's controls — Edit, Add reaction, Copy, and an open rewrite's Discard and Save — are now one group at the end of the message's head, placed by the head's flex row. Before, each control was positioned absolutely against the head's anchor, Edit and the reaction trigger were offset past Copy, and the head reserved room for them with widths set per case (`--lf-msg-control`, `--lf-msg-head-room`, `--lf-msg-controls-width`, `--lf-msg-edit-width`, `--lf-thread-message-control-room`). The browser code is +294 −317 lines against `main` (whitespace ignored, comments included). ## How the group is laid out `messages.js` renders `<span class="lf-msg-control-room"><span class="lf-msg-controls">…</span></span>` as the head's last item (`controls.css`): - **The room** is as wide as the group and gives up its width before anything else in the head (`flex: 0 1e12 auto; min-inline-size: 0`), keeping the group end-aligned. So a squeezed head's words run under the hidden controls, and when the controls show they stand over the words' end, on the message's ground, with nothing moving. That is #4661's behaviour, rebuilt on the group instead of a `::after` box sized per case. - **The room stays whole** beside a primary reader's news notice, beside a page thread's first-message controls, under a finger (where the controls always show), and, with one control's width, while a progress disclosure waits for its answer's reaction trigger. - **The reaction trigger** is drawn by `ReactionStripView.trigger` into the group and registers through a Lit `ref`, re-registering whenever Lit draws a new button. The strip below the words holds only the palette. - **Discard and Save** leave the editor's DOM for the group (`message-edit.js`), so the editor's Escape scope also covers them, and the floating panel's rewrite check asks whether a node stands in a message being rewritten rather than inside its editor. Beside a seat's first message, where Resolve leaves while a rewrite is open, the head takes Resolve's room, so the pair stands in Resolve's place by layout, as the margin card's head already did. - **The head** cuts what it can't fit only at its inline end, a gap past it (`clip-path`), so focus rings and touch reach above and below it stand whole; the margin card's metadata clips its own rising labels. - **The news fit** (`#fitMarginNews`) and the held-news header slot in `thread-card.js` measure the group rather than the head's padding. ## What looks or behaves differently - In Firefox the reaction picker now hangs 4px below its trigger, as in Chromium; on `main` Firefox put it 18px below. - A later message's head in a margin card spans both card tracks, so its controls end at the card's edge by layout, replacing #4630's offsets inside the message box, and its name and time get the whole row. While it sticks on the line of the card's Expand, Resolve and Close, it keeps to the first track (`data-lf-beside-actions`), as every head did on `main`, and its controls stand aside there, as Edit and Copy did on `main`. An answer's reaction trigger now stands aside too; an open rewrite's Discard and Save stay. - An open rewrite's Discard and Save precede its field in Tab order, as they do on screen; Shift+Tab from the field reaches Save, then Discard, Escape there still discards, and Tab from the field goes on to the thread's controls. A message's Add reaction likewise precedes its own widgets. - Tapping Edit on a phone card's first message while news waits leaves the card where it stood, the released messages below in its transcript. On `main` the card rose 180px under the finger to show them: Edit leaves as the rewrite opens, so `card-anchor.js` reads the press from the next element up, which on `main` was the message, moved by the transcript's scroll, and is now the controls group in the sticky head. - Under a coarse pointer a thread's Expand, Resolve and Close drop the 4px gap between their 44px boxes, standing 44px apart rather than 48px. ## Tests - `reaction-strips.test.mjs` adds a case for a trigger drawn again, which registered stale before. - `test_a_rewrite_is_the_reply_box_where_the_words_stood` now checks that a pointer reaches Discard and Save on each surface, and `test_a_rewrite_keeps_its_pair_while_its_head_sticks_beside_the_actions` covers a later card message's rewrite whose head sticks on the actions' line. A reviewer found both cases broken on this branch before the fix. `test_a_card_s_head_stands_whole_beside_news` looks Edit up in the head's group; it had accepted finding none. - Browser tests take new selectors for the moved trigger and pair. `test_progress_disclosure_keeps_its_words_visible_beside_margin_paging` checks what each head on the actions' line shows rather than every head's box, since a later head below that line now runs to the card's edge, and it reads the card after its entrance motion ends. `test_a_rewrite_of_a_comment_just_sent_is_the_reply_box` reads Edit's ring after the card's growth from the comment box ends; it passed on `main` only by finishing a few milliseconds sooner. - Journey tests got the same selector changes and weren't run locally. Checked locally: `pnpm run test:runtime`, `pnpm run check:browser`, and about 190 targeted browser cases over rewrites, head layout, the controls' room, news fits, reactions, summaries, seated threads and touch; probes against `main` in Chromium, Firefox and a 390px touch viewport; a Codex review of the code, and a fresh agent's use of each surface on both versions. > _This was written by Claude Code on behalf of max-sixty_
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A margin card's head kept a blank strip at its end for its message's Edit and Copy even while they were hidden, so a queued message read "Me just now · Qu…" beside 60px of empty room. Now a head's words use that room while the controls hide, and the controls stand over the words' end, on the message's ground, when they show. Nothing re-lays out under the pointer. A squeezed margin head also cuts its time before a short name, reversing #3104's order. Both were the user's picks on 28 October.
browser/styles/components/controls.css): the controls' room is now the head's last flex box (.lf-msg-head::after) instead of padding. It still counts in the head's intrinsic size, so cards keep their width, and it is the first thing a short head gives up. A::beforepaints the message's ground under the controls while they show, fading in as an open rewrite's Discard and Save do. The room stays whole where a news notice stands before it (.lf-primary-news, a page thread's first head) and under a finger, where the controls always show.browser/runtime/annotation-overlay/annotation-chrome.css): the margin head's metadata is a flex row again. It gives up its annotations, then its time, then its name, each with an ellipsis.#fitMarginNewsinbrowser/runtime/thread/thread-card.js): it reads the room from--lf-msg-control, now registered as a length. It hides a name (data-lf-nameless) only once the time and any room that can yield are gone.Behavior changed in tests:
test_a_head_s_words_take_its_controls_room_while_they_hideis new.test_a_card_s_head_stands_whole_beside_newsnow expects "Me" whole and the time cut.test_a_cut_name_leaves_the_gap_before_the_time_clearis deleted, since a name is now cut only after the time is gone.Checked in Chromium and Firefox at card widths of 318, 236 and 170px.