first attempt to realigning

This commit is contained in:
Peter Olu 2022-05-06 05:52:36 +01:00
parent ca268cd952
commit 0df1739f1d
2 changed files with 12 additions and 8 deletions

View File

@ -16,7 +16,10 @@ limitations under the License. -->
<div class="dashboard-tool flex-h">
<div class="flex-h">
<div class="flex-h">
<div class="selectors-item" v-if="key !== 10">
<div
class="selectors-item"
v-if="key !== 10 && currentTraceView === 'traceList'"
>
<el-tooltip
class="box-item"
effect="dark"
@ -52,8 +55,8 @@ limitations under the License. -->
>
<Icon iconSize="sm" iconName="cancel" />
</el-button>
</div>
<div class="selectors-item" v-if="key === 3 || key === 4">
</div>
<div class="selectors-item" v-if="(key === 3 || key === 4 ) && currentTraceView === 'traceList' " >
<el-tooltip
v-if="!selectedSelector.length || selectedSelector === '$endpoint'"
class="box-item"
@ -69,6 +72,7 @@ limitations under the License. -->
<Icon size="sm" iconName="view" />
</el-button>
</el-tooltip>
<span>Inhouse</span>
<Selector
v-if="selectedSelector === '$endpoint'"
style="margin-left: 20px"

View File

@ -1,6 +1,6 @@
<template>
<div
class="trace-detail-wrapper clear"
class="trace-detail-wrapper flex-h clear"
v-if="traceStore.currentTrace.endpointNames"
>
<h5 class="mb-5 mt-0">
@ -74,7 +74,7 @@
/>
</div>
<div class="flex-h item">
<div>
<!-- <div>
<div class="tag mr-5">{{ t("start") }}</div>
<span class="mr-15 sm">
{{ dateFormat(parseInt(traceStore.currentTrace.start)) }}
@ -83,7 +83,7 @@
<span class="mr-15 sm">{{ traceStore.currentTrace.duration }} ms</span>
<div class="tag mr-5">{{ t("spans") }}</div>
<span class="sm">{{ traceStore.traceSpans.length }}</span>
</div>
</div> -->
<div>
<el-button
class="grey"
@ -235,10 +235,10 @@ export default defineComponent({
.trace-detail-wrapper {
font-size: 12px;
padding: 5px 10px;
// padding: 5px 10px;
border-bottom: 1px solid #eee;
width: 100%;
height: 95px;
// height: 95px;
.grey {
color: #fff;