Commit 6b15308
authored
fix(web): stop the sidebar update icon from rendering clipped (#282)
## Summary
- The sidebar update pill is a 32px `inline-grid` with `overflow:
hidden`. The hidden `nowrap` label shares the icon's grid cell, so the
track grew to the label's width, the icon was centred in that oversized
track, and the visible part was a clipped half green circle. The track
is now pinned with `grid-template-columns: minmax(0, 1fr)` and both
items get `min-width: 0`.
- Sidebar logo width reduced from 220px to 200px.
- `dist-web` bundle restaged.
## Test plan
- [x] `app-shell-contracts.test.ts` updated: new guards for the grid
track + `min-width: 0`, logo width pinned to 200px.
- [x] `pnpm run build:web`
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Fixed the sidebar update notification icon so it remains fully visible
without clipping.
* Improved update notification layout across different sidebar widths.
* **Style**
* Reduced the maximum sidebar logo width for a more balanced appearance.
* **Chores**
* Refreshed web assets and improved reliability of security audit
network requests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent ab5793e commit 6b15308
99 files changed
Lines changed: 129 additions & 113 deletions
File tree
- .changeset
- .github/workflows
- apps
- pythinker-code/dist-web
- assets
- pythinker-web
- src/components
- test
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 | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
| 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