Commit 26cd4ac
authored
fix(web): align file icon with text in Read/Edit tool rows (#231)
## Summary
The file-type icon after the Read/Edit label sat above the text line.
`.bh-text` aligns children by baseline, and `.tl-ficon` had
`line-height: 0`, so its baseline collapsed to its bottom edge and the
icon rode high. Dropped `line-height: 0` and added `align-self: center`
in ReadTool.vue / EditTool.vue; restaged `dist-web`.
## Testing
- `pnpm run build:web`
- pythinker-web vitest: 85 files / 1012 tests green
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved file-type icon alignment in Read and Edit tool rows so icons
are vertically centered with their accompanying text.
- **Chores**
- Updated bundled web assets and language support resources.
- Refreshed diagram rendering assets and editor integrations without
changing their visible behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 742be33 commit 26cd4ac
98 files changed
Lines changed: 120 additions & 115 deletions
File tree
- .changeset
- apps
- pythinker-code/dist-web
- assets
- pythinker-web/src/components/chat/tool-calls
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments