fix(renderer): prevent page shrinking in flex containers#34
Merged
Seungwoo321 merged 3 commits intomainfrom Mar 23, 2026
Merged
fix(renderer): prevent page shrinking in flex containers#34Seungwoo321 merged 3 commits intomainfrom
Seungwoo321 merged 3 commits intomainfrom
Conversation
와이어프레임 렌더링의 핵심 원칙을 문서화했습니다. 페이지는 고정 크기를 유지해야 하며, 환경에 따라 레이아웃이 변하면 안 된다는 철학을 명시했습니다.
.wf-page에 flex-shrink: 0을 추가하여 부모가 flex container일 때 viewport가 page width보다 작아도 페이지 크기가 유지되도록 수정했습니다. 이로써 모든 환경에서 동일한 고정 레이아웃이 보장됩니다.
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.
Summary
.wf-page에flex-shrink: 0추가하여 부모 flex container 환경에서 페이지가 자동 축소되는 버그 수정Root Cause
.wf-page가flex-shrink: 0속성이 없어서, body가 flex container인 환경(일부 브라우저, Storybook 등)에서 viewport 너비가 page width보다 작을 때 페이지가 자동으로 축소됨Fix
src/renderer/styles.ts의.wf-page스타일에flex-shrink: 0추가.claude/rules/no-responsive.md문서 작성: wireweave의 고정 레이아웃 렌더링 철학 명시Test Plan