Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 653bb30

Browse files
authored
fix: update style for event details (#518)
1 parent 0e90c3d commit 653bb30

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/views/components/alarm/alarm-table.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ limitations under the License. -->
7575
currentEvent[eventKey.class] | dateformat
7676
}}</span>
7777
<span v-else-if="eventKey.class === 'source'" class="source">
78-
<div>{{ $t('currentService') }}: {{ currentEvent[eventKey.class].service }}</div>
78+
<span>{{ $t('currentService') }}: {{ currentEvent[eventKey.class].service }}</span>
7979
<div v-show="currentEvent[eventKey.class].endpoint">
8080
{{ $t('currentEndpoint') }}: {{ currentEvent[eventKey.class].endpoint }}
8181
</div>

src/views/components/common/index.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
display: inline-block;
4646
width: 120px;
4747
}
48+
.source > span {
49+
display: inline-block;
50+
}
4851
.source > div {
4952
padding-left: 120px;
5053
}

src/views/components/event/event-timeline.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ limitations under the License. -->
5454
currentEvent[eventKey.class] | dateformat
5555
}}</span>
5656
<span v-else-if="eventKey.class === 'source'" class="source">
57-
<div>{{ $t('currentService') }}: {{ currentEvent[eventKey.class].service }}</div>
57+
<span>{{ $t('currentService') }}: {{ currentEvent[eventKey.class].service }}</span>
5858
<div v-show="currentEvent[eventKey.class].endpoint">
5959
{{ $t('currentEndpoint') }}: {{ currentEvent[eventKey.class].endpoint }}
6060
</div>

0 commit comments

Comments
 (0)