Skip to content

Commit d2bceb9

Browse files
committed
fix(web): pin preview header close button to the top-right corner
PanelHeader in wrap mode placed the Close control inside the same wrapping flex row as the FilePreview actions, so it drifted to wherever the last action landed as the panel width changed. Move title, subtitle and slot content into a __main region that wraps on its own; Close stays a sibling pinned to the corner at every width. Remove the FilePreview download link; the downloadUrl prop stays because it still feeds the PDF viewer source.
1 parent 26cd4ac commit d2bceb9

99 files changed

Lines changed: 165 additions & 155 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@pymodel/pythinker-code': patch
3+
---
4+
5+
Keep the file preview close button in the top-right corner at every panel width and remove the unused download action.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"sourceHash": "426c0f6fb43b8b89ffb8ec4742cd3a4c735858eb57c2a81c31c6cc9ddfe74e70",
2+
"sourceHash": "7ea5e8fb9bbb40d695d221dccebe6a9c77a67434b48c9ecfff3985148d67e43b",
33
"sourceFileCount": 405
44
}

apps/pythinker-code/dist-web/assets/CodeBlockNode-DUUxKNHt.js renamed to apps/pythinker-code/dist-web/assets/CodeBlockNode-CRjmmlqv.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/DesignSystemView-B_5lCab_.js renamed to apps/pythinker-code/dist-web/assets/DesignSystemView-DfENn6Z8.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/Tooltip-BURaaNJx.js renamed to apps/pythinker-code/dist-web/assets/Tooltip-T2K26svk.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-DHIqKlMB.js renamed to apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-BdtdeoSj.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/arc-Gyb_BMPM.js renamed to apps/pythinker-code/dist-web/assets/arc-CJEl6fqN.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/architectureDiagram-5GKGNRK7-B8uLR-34.js renamed to apps/pythinker-code/dist-web/assets/architectureDiagram-5GKGNRK7-DCqXf70b.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)