Skip to content

Commit

Permalink
fix: event display layout
Browse files Browse the repository at this point in the history
Signed-off-by: ivelin <ivelin@ambianic.ai>
  • Loading branch information
ivelin committed Dec 9, 2021
1 parent 68d6a64 commit bb2d7f0
Showing 1 changed file with 28 additions and 20 deletions.
48 changes: 28 additions & 20 deletions src/views/Event.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,37 @@
</v-col>
</v-row>
<v-row
align="center"
align="start"
justify="center"
class="ma-5 pa-5"
dense
>
<v-card class="text-center">
<event-card
v-if="isEdgeConnected"
:data="eventData"
ref="event-card"
/>
<v-card-text
ref="loading-card"
v-else
>
<p>
Loading event info...
</p>
<v-progress-circular
size="50"
indeterminate
<v-col
:style="maxWidth"
align="center"
justify="center"
cols="12"
class="pa-0 ma-0 fill-height"
>
<v-card class="text-center">
<event-card
v-if="isEdgeConnected"
:data="eventData"
ref="event-card"
/>
</v-card-text>
</v-card>
<v-card-text
ref="loading-card"
v-else
>
<p>
Loading event info...
</p>
<v-progress-circular
size="50"
indeterminate
/>
</v-card-text>
</v-card>
</v-col>
</v-row>
</amb-app-frame>
</template>
Expand Down

0 comments on commit bb2d7f0

Please sign in to comment.