-
Notifications
You must be signed in to change notification settings - Fork 660
🐛 Bugfix: Fix incomplete display of tenant resources page after window resize #3215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,7 +54,7 @@ | |
|
|
||
| <Tabs | ||
| defaultActiveKey="users" | ||
| className="h-full flex flex-col" | ||
| className="h-full flex flex-col overflow-hidden [&_.ant-tabs-contentHolder]:flex-1 [&_.ant-tabs-contentHolder]:overflow-hidden asset-owner-tabs" | ||
| items={[ | ||
| { | ||
| key: "users", | ||
|
|
@@ -108,3 +108,17 @@ | |
| </div> | ||
| ); | ||
| } | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| <style jsx global>{` | ||
| .asset-owner-tabs .ant-tabs-content { | ||
| width: 100%; | ||
| height: 100%; | ||
| } | ||
| .asset-owner-tabs .ant-tabs-tabpane { | ||
| height: 100%; | ||
| overflow: hidden; | ||
| } | ||
| .asset-owner-tabs .ant-tabs-nav { | ||
| flex-shrink: 0; | ||
| } | ||
| `}</style> | ||
|
Check warning on line 124 in frontend/app/[locale]/tenant-resources/components/AssetOwnerResourcesComp.tsx
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
将
MarkdownRenderer从@/components/ui/markdownRenderer移动到@/components/common/markdownRenderer是一个重构,但如果有其他文件未更新导入路径,会导致构建失败。建议全局搜索@/components/ui/markdownRenderer确保所有导入都已更新。