CSS optimizations

This commit is contained in:
Ponkhy 2021-08-23 01:22:55 +02:00
parent ca38cc91e9
commit ce79f8bfc7
3 changed files with 30 additions and 26 deletions

View file

@ -128,7 +128,7 @@
</div>
</div>
<div class="shadow-box">
<div class="shadow-box tableShadowbox">
<table class="table table-borderless table-hover">
<thead>
<tr>
@ -138,10 +138,10 @@
</tr>
</thead>
<tbody>
<tr v-for="(beat, index) in displayedRecords" :key="index">
<tr v-for="(beat, index) in displayedRecords" :key="index" :class="{ 'shadow-box': $root.windowWidth <= 550}" style="padding: 10px;">
<td><Status :status="beat.status" /></td>
<td><Datetime :value="beat.time" /></td>
<td>{{ beat.msg }}</td>
<td :class="{ 'border-0':! beat.msg}"><Datetime :value="beat.time" /></td>
<td class="border-0">{{ beat.msg }}</td>
</tr>
<tr v-if="importantHeartBeatList.length === 0">