@@ -705,7 +706,7 @@ export default class BackendAIResourcePanel extends BackendAIPage {
${this.cuda_gpu_total
diff --git a/src/components/backend-ai-summary-view.ts b/src/components/backend-ai-summary-view.ts
index 7fdcc536ed..6a7bbbca20 100644
--- a/src/components/backend-ai-summary-view.ts
+++ b/src/components/backend-ai-summary-view.ts
@@ -558,6 +558,7 @@ export default class BackendAISummary extends BackendAIPage {
elevation="1"
narrow
height="500"
+ scrollableY="true"
>
this._removePanel()}"
>
-
@@ -168,6 +168,9 @@ export default class LablupActivityPanel extends LitElement {
}
const card = this.shadowRoot?.querySelector('.card') as HTMLDivElement;
+ const content = this.shadowRoot?.querySelector(
+ '.content',
+ ) as HTMLDivElement;
const header = this.shadowRoot?.querySelector(
'#header',
) as HTMLHeadingElement;
@@ -208,9 +211,12 @@ export default class LablupActivityPanel extends LitElement {
}
if (this.height > 0) {
- this.height == 130
- ? (card.style.height = 'fit-content')
- : (card.style.height = this.height + 'px');
+ if (this.height == 130) {
+ card.style.height = 'fit-content';
+ } else {
+ content.style.height = this.height - 70 + 'px';
+ card.style.height = this.height + 'px';
+ }
}
if (this.noheader) {
@@ -218,7 +224,8 @@ export default class LablupActivityPanel extends LitElement {
}
if (this.scrollableY) {
- card.style.overflowY = 'auto';
+ content.style.overflowY = 'auto';
+ content.style.overflowX = 'hidden';
}
}