feat(ui): bump thumbnail sizes 1.5x, make Settings fluid, add subscription_count stat
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -29,10 +29,11 @@ export function distributeIntoColumns(items, columnCount) {
|
||||
}
|
||||
|
||||
// Reactive column count from container width. Breakpoints mirror the
|
||||
// gallery grid intent: ~260px target column width, min 1 column.
|
||||
// gallery grid intent: ~390px target column width, min 1 column. Bumped
|
||||
// from 260px on 2026-05-23 per dogfood UX feedback (thumbs were too small).
|
||||
export function columnCountForWidth(width) {
|
||||
if (!width || width < 0) return 1
|
||||
return Math.max(1, Math.floor(width / 260))
|
||||
return Math.max(1, Math.floor(width / 390))
|
||||
}
|
||||
|
||||
export function usePolyMasonry(containerRef) {
|
||||
|
||||
Reference in New Issue
Block a user