fix trace style

This commit is contained in:
Qiuxia Fan 2022-04-26 12:25:15 +08:00
parent 8a07b1d804
commit 0f0fece94e
2 changed files with 17 additions and 6 deletions

View File

@ -24,7 +24,12 @@ limitations under the License. -->
/>
<span class="vm">{{ traceStore.currentTrace.endpointNames[0] }}</span>
<div class="trace-log-btn">
<el-button class="mr-10" type="primary" @click="searchTraceLogs">
<el-button
size="small"
class="mr-10"
type="primary"
@click="searchTraceLogs"
>
{{ t("viewLogs") }}
</el-button>
</div>
@ -88,7 +93,8 @@ limitations under the License. -->
</div>
<div>
<el-button
class="grey small"
class="grey"
size="small"
:class="{ ghost: displayMode !== 'List' }"
@click="displayMode = 'List'"
>
@ -96,7 +102,8 @@ limitations under the License. -->
{{ t("list") }}
</el-button>
<el-button
class="grey small"
class="grey"
size="small"
:class="{ ghost: displayMode !== 'Tree' }"
@click="displayMode = 'Tree'"
>
@ -104,7 +111,8 @@ limitations under the License. -->
{{ t("tree") }}
</el-button>
<el-button
class="grey small"
class="grey"
size="small"
:class="{ ghost: displayMode !== 'Table' }"
@click="displayMode = 'Table'"
>
@ -112,7 +120,8 @@ limitations under the License. -->
{{ t("table") }}
</el-button>
<el-button
class="grey small"
class="grey"
size="small"
:class="{ ghost: displayMode !== 'Statistics' }"
@click="displayMode = 'Statistics'"
>
@ -231,6 +240,8 @@ export default defineComponent({
.trace-chart {
height: 100%;
overflow: auto;
padding-bottom: 20px;
}
.trace-detail-wrapper {

View File

@ -22,7 +22,7 @@ limitations under the License. -->
<Icon iconName="issue-open-m" class="mr-5" size="sm" />
<span>{{ i }}</span>
</span>
<el-button class="btn" type="primary" @click="downloadTrace">
<el-button class="btn" size="small" type="primary" @click="downloadTrace">
{{ t("exportImage") }}
</el-button>
</div>