fix(landing): 수학 데모의 LaTeX 안내 문구 폰트를 사이트 폰트로 통일 - #180
Closed
jessieyeon wants to merge 1 commit into
Closed
Conversation
'LaTeX가 자동으로 생성됩니다' 줄만 fontFamily=monospace 라서 브라우저 기본 monospace(13px/400)로 그려졌고, 같은 박스 안의 Spoqa Han Sans Neo 500 텍스트와 어긋나 보였다. typography="body" 로 바꿔 나머지 UI 와 맞춘다. 아울러 좌우 박스의 폭 분배를 MathTransPanel 의 selectors (`&>*:first-child, &>*:last-child`) 대신 MathTransInput 이 스스로 flex=1 / minWidth=0 을 갖는 방식으로 바꾼다. 출력측 TransInput 이 이미 쓰는 방식과 같아지고, 위치 기반 CSS 규칙 4개가 사라진다. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Contributor
Author
|
잘못 올렸습니다. 논의 후 다시 올리겠습니다. |
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
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.
무엇을
수학 점역 데모 입력 박스 하단의
LaTeX가 자동으로 생성됩니다줄이fontFamily="monospace"라서 브라우저 기본 monospace(13px / weight 400)로 그려졌습니다. 같은 박스 안의 Spoqa Han Sans Neo 500 텍스트와 폰트·크기·자간이 전부 어긋나 보입니다.typography="body"로 바꿔 나머지 UI 와 맞췄습니다. (안내 문구와 실제 LaTeX 코드 모두 사이트 폰트를 씁니다.)함께 정리한 것
좌우 박스의 폭 분배를
MathTransPanel의selectors대신MathTransInput이 스스로flex="1"/minW="0"을 갖는 방식으로 바꿨습니다.TransInput이 이미flex="1"을 스스로 갖고 있어서, 입력측만 호출부에서 분배받는 비대칭이 사라집니다:first-child/:last-child) CSS 규칙 4개가 없어집니다 — 가운데DemoArrow를 제외하려고 위치에 의존하던 부분입니다padding없는 바깥 래퍼를 유지해야 하는 이유(Update landing #173 에서 다룬 flex-basis vs padding 문제)는 주석으로 그대로 남겼습니다검증
bun -F landing build로 프로덕션 빌드 후 정적 서빙하여 확인했습니다.데스크톱(row) · 모바일(column) 양쪽 레이아웃 모두 확인했습니다.
참고 — 배포본 이슈
현재 https://braillify.kr 에서는 수학 탭의 박스 폭이 433 / 577 로 어긋나고 안내 문구가 회색이 아닌 검은색으로 보입니다. 이건 소스 문제가 아니라 배포된 CSS 청크가 잘려 있어서 입니다. 해당 파일에서
.c-c7이후 클래스(height:500px,>*:first-child{flex:1},opacity:.5,font-family:monospace등)가 통째로 빠져 있는데, 그 클래스를 참조하는 JS 는 최신입니다. devup-ui 가 만드는df/산출물이 빌드 캐시에서 stale 하게 재사용된 것으로 보입니다.빌드 캐시를 비우고 재배포하면 위 두 증상은 해소됩니다. 이 PR 은 그와 별개로 실재하는 폰트 문제를 고치고, 폭 분배가 이 파일에서만 새로 생성되는 CSS 규칙에 의존하지 않도록 함께 정리한 것입니다.
🤖 Generated with Claude Code