mirror of
https://github.com/Matysh/houseplan-card
synced 2026-08-01 00:48:29 +00:00
v1.53.1: the run-target search rendered into a 1px sliver
Reported by the owner minutes after v1.53.0: typing a name showed no results. The results existed — .candlist is a scrollable box, and a scrollable flex item inside the dialog body collapses happily: 26 matching rows rendered inside a 1px strip. The binding dropdown never showed this because it sits inside .droppanel, a block context. flex: 0 0 auto + a min-height keeps it open. The smoke now MEASURES the list and the first row instead of counting DOM nodes — counting is exactly why it passed a build where nothing was visible.
This commit is contained in:
@@ -36,7 +36,7 @@ import { cardStyles } from './styles';
|
||||
import { fitInSquare, contentBounds, spaceModels } from './space-geometry';
|
||||
import { langOf, t, type I18nKey } from './i18n';
|
||||
|
||||
const CARD_VERSION = '1.53.0';
|
||||
const CARD_VERSION = '1.53.1';
|
||||
const LS_KEY = 'houseplan_card_layout_v1';
|
||||
const LS_CFG = 'houseplan_card_cfg_v1'; // cache of the server config+layout for instant rendering
|
||||
const LS_ZOOM = 'houseplan_card_zoom_v1';
|
||||
|
||||
Reference in New Issue
Block a user