improvement(feed): give the compact row's title the room back
Three from UAT: the row's cap goes 1280 -> 1472 (+15%), since with the rail and filters hidden there was a lot of page left over and the fixed columns mean the extra width can only go to the title; the views column drops the word and keeps it in the tooltip (a table doesn't repeat its unit every line), taking that column 144 -> 64; and the view switcher names the current mode where the toolbar has room, falling back to the icon alone below xl. Title: 431 -> 511 at 1440, 706 at 1900.
This commit is contained in:
@@ -41,9 +41,10 @@ export const FEED_VIEW_SPEC: Record<FeedView, FeedViewSpec> = {
|
||||
// Keeps the 896px cap: its actions dock at the right edge, so a wider row would only stretch the
|
||||
// dead space between them and the meta.
|
||||
rows: { family: "row", minCol: null, maxCol: 896, thumb: true, dense: false, actionsBelow: false },
|
||||
// Wider (1280): everything sits on one line with the actions right-aligned, so there's no gap to
|
||||
// grow — the extra width just buys more title before it truncates.
|
||||
rowsCompact: { family: "row", minCol: null, maxCol: 1280, thumb: false, dense: false, actionsBelow: false },
|
||||
// Much wider (1472): everything sits on one line and the columns after the title are fixed, so
|
||||
// there's no gap for the extra width to stretch — it all goes to the title. Raised from 1280 at
|
||||
// the user's request once they saw how much room was left over with the rail and filters hidden.
|
||||
rowsCompact: { family: "row", minCol: null, maxCol: 1472, thumb: false, dense: false, actionsBelow: false },
|
||||
// 380 = thumbnail (160) + gap (12) + ~192 for the text + the block's own padding (16). The text
|
||||
// floor is the action row's measured 156px plus enough for a title to be worth reading.
|
||||
// Tuned by measuring the real layouts, not guessed: 3 columns need 3n+32 px, so 380 turns the
|
||||
|
||||
Reference in New Issue
Block a user