Skip to content

1.0.2

Choose a tag to compare

@ichris007 ichris007 released this 24 Sep 02:20
· 20 commits to main since this release

设置页布局健壮性修复

这是一个小版本更新,主要提升设置页在不同宿主容器下的布局稳定性。

改动内容:

styles.css — 为 .taskflow-setting-tab 根规则补充四条防御性声明,覆盖三种宿主容器布局:

width: 100% — 块级父级下照常撑满

flex: 1 1 auto — 行向 flex 父级下照常撑满

align-self: stretch — 列向 flex 且父级 align-items ≠ stretch 时兜底

min-width: 0 — 行向 flex 下允许收缩,避免溢出

同时保留 max-width: 720px + margin: 0 auto,设置页仍居中收口到 720px

entry.ts — 新增 6 条护栏,将上述四条声明与「保留 max-width」锁死,防止后续并行编辑时静默丢失

说明

本次改动对当前干净代码零风险,仅增强布局兼容性,不涉及功能变更。

Settings Tab Layout Robustness Fix

A small patch release focused on improving the settings tab's layout stability across different host containers.

Changes

styles.css — Added four defensive declarations to the .taskflow-setting-tab root rule, covering three host container layouts:

width: 100% — fills correctly under block-level parents

flex: 1 1 auto — fills correctly under row-direction flex parents

align-self: stretch — fallback for column-direction flex when parent align-items ≠ stretch

min-width: 0 — allows shrinking under row-direction flex to prevent overflow

Kept max-width: 720px + margin: 0 auto, so the settings tab stays centered and capped at 720px

entry.ts — Added 6 guardrails to lock in the four declarations above plus the "keep max-width" rule, preventing silent loss during parallel edits

Notes

Zero risk to the current clean codebase. This is a layout compatibility enhancement only — no functional changes.