Skip to content

Commit

Permalink
fix(LogTrace,Gateway):fix text misused; remove specific styling in Ga…
Browse files Browse the repository at this point in the history
…teway
  • Loading branch information
Kerry authored and kerry-emqx committed Dec 20, 2021
1 parent c46dfa0 commit abad1c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 35 deletions.
2 changes: 1 addition & 1 deletion src/views/Diagnose/LogTrace/LogTrace.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
@click="submitTrace()"
:loading="createLoading"
>
{{ $t("Base.confirm") }}
{{ $t("Base.create") }}
</el-button>
</div>
</template>
Expand Down
35 changes: 1 addition & 34 deletions src/views/Gateway/GatewayDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
<el-tag type="info" class="section-status">
<span
><i
:class="[
'g-status',
gInfo.status !== 'running' && 'is-stopped',
]"
:class="['status', gInfo.status !== 'running' && 'stopped']"
></i
><span>{{ gInfo.status }}</span></span
>
Expand Down Expand Up @@ -114,37 +111,7 @@ export default defineComponent({
background-size: contain;
}
.title-n-status {
height: 45px;
}
.section-title {
font-size: 14px;
font-weight: 700;
flex-grow: 1;
}
.section-status {
height: 18px;
border-radius: 6px;
}
.el-menu.el-menu--horizontal {
margin-bottom: 40px;
}
.el-tag.el-tag--info {
line-height: 18px;
height: 20px;
.g-status {
width: 10px;
height: 10px;
display: inline-block;
background-color: #00b173;
border-radius: 5px;
margin-right: 4px;
&.is-stopped {
background-color: #575f6e;
}
}
}
</style>

0 comments on commit abad1c6

Please sign in to comment.