Skip to content

Commit dce6428

Browse files
committed
style: adjust table style in thread dump views
1 parent 6c498af commit dce6428

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

frontend/src/components/threaddump/CallSiteTree.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright (c) 2023 Contributors to the Eclipse Foundation
2+
Copyright (c) 2023, 2024 Contributors to the Eclipse Foundation
33
44
See the NOTICE file(s) distributed with this work for additional
55
information regarding copyright ownership.
@@ -157,6 +157,7 @@ onMounted(() => {
157157
<el-table
158158
stripe
159159
:show-header="false"
160+
v-bind="moreThanOnePage ? {height: `${40 * pageSize}px`} : {}"
160161
:data="tableData"
161162
row-key="rowKey"
162163
lazy

frontend/src/components/threaddump/Monitor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright (c) 2023 Contributors to the Eclipse Foundation
2+
Copyright (c) 2023, 2024 Contributors to the Eclipse Foundation
33
44
See the NOTICE file(s) distributed with this work for additional
55
information regarding copyright ownership.
@@ -63,7 +63,7 @@ onMounted(() => {
6363
<el-table
6464
stripe
6565
:show-header="false"
66-
:style="moreThanOnePage ? { height: `${40 * pageSize}px` } : {}"
66+
v-bind="moreThanOnePage ? {height: `${40 * pageSize}px`} : {}"
6767
:data="tableData"
6868
v-loading="loading"
6969
>

frontend/src/components/threaddump/MonitorThread.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright (c) 2023 Contributors to the Eclipse Foundation
2+
Copyright (c) 2023, 2024 Contributors to the Eclipse Foundation
33
44
See the NOTICE file(s) distributed with this work for additional
55
information regarding copyright ownership.
@@ -114,7 +114,8 @@ onMounted(() => {
114114
<el-table
115115
stripe
116116
:show-header="false"
117-
:style="stateData[state].moreThanOnePage ? { height: `${40 * pageSize}px` } : {}"
117+
:max-height="`${40 * pageSize}px`"
118+
v-bind="stateData[state].moreThanOnePage ? {height: `${40 * pageSize}px`} : {}"
118119
:data="stateData[state].tableData"
119120
v-loading="stateData[state].loading"
120121
>

frontend/src/components/threaddump/Thread.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright (c) 2023 Contributors to the Eclipse Foundation
2+
Copyright (c) 2023, 2024 Contributors to the Eclipse Foundation
33
44
See the NOTICE file(s) distributed with this work for additional
55
information regarding copyright ownership.
@@ -127,7 +127,8 @@ onMounted(() => {
127127
<el-table
128128
stripe
129129
:show-header="false"
130-
:style="moreThanOnePage ? { height: `${40 * pageSize}px` } : {}"
130+
:max-height="`${40 * pageSize}px`"
131+
v-bind="moreThanOnePage ? {height: `${40 * pageSize}px`} : {}"
131132
:data="tableData"
132133
v-loading="loading"
133134
>

frontend/src/components/threaddump/ThreadDump.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright (c) 2023 Contributors to the Eclipse Foundation
2+
Copyright (c) 2023, 2024 Contributors to the Eclipse Foundation
33
44
See the NOTICE file(s) distributed with this work for additional
55
information regarding copyright ownership.
@@ -251,7 +251,7 @@ onMounted(() => {
251251
<el-table
252252
stripe
253253
:show-header="false"
254-
:style="threadGroupMoreThanOnePage ? { height: `${40 * threadGroupPageSize}px` } : {}"
254+
v-bind="threadGroupMoreThanOnePage ? {height: `${40 * threadGroupPageSize}px`} : {}"
255255
:data="tableDataOfThreadGroupStats"
256256
>
257257
<el-table-column type="expand">

0 commit comments

Comments
 (0)