fix: FoxHelperText가 쓰는 message 믹스인의 $display 인자 누락
FoxHelperText 커밋(83acf5b)에서 `_fox-helper-text.scss`는 `@include field.message($display: inline-flex)`로 부르는데, 믹스인 쪽 변경이 함께 올라가지 않아 인자를 받지 못하는 상태였다. 받은 트리에서 sass가 `No argument named $display`로 실패한다. 기본값이 `flex`라 이 믹스인을 부르는 폼 다섯 곳의 출력은 종전과 같다. Co-Authored-By: Claude Opus 5 (1M context)
@40283416391620664c2467ccfd6b49d7e7790893
--- @fox/styles/_form-field.scss
+++ @fox/styles/_form-field.scss
... | ... | @@ -27,8 +27,14 @@ |
| 27 | 27 |
} |
| 28 | 28 |
|
| 29 | 29 |
/// 시안 helper-message. 오류·포커스 색은 상태 규칙이 덮는다. |
| 30 |
-@mixin message {
|
|
| 31 |
- display: flex; |
|
| 30 |
+/// |
|
| 31 |
+/// `$display`는 폼 안에서 `flex`이고, 단독으로 쓰는 `FoxHelperText`에서만 |
|
| 32 |
+/// `inline-flex`다 — 그쪽 시안이 내용만큼만 차지하게 준다. |
|
| 33 |
+/// |
|
| 34 |
+/// TODO(폼 통합, 적용 후 이 문단 삭제): 이 믹스인을 부르는 폼 다섯 곳은 앞으로 |
|
| 35 |
+/// `FoxHelperText`(`.fox-helper-text`)로 옮긴다 — 절차는 `_fox-helper-text.scss` 상단 참고. |
|
| 36 |
+@mixin message($display: flex) {
|
|
| 37 |
+ display: $display; |
|
| 32 | 38 |
gap: fox.number(3); |
| 33 | 39 |
align-items: flex-start; |
| 34 | 40 |
margin: 0; |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?