Skip to content

Commit

Permalink
Removed: unwanted css for empty-state handling(#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Apr 10, 2024
1 parent 4a86a42 commit 7e57806
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions src/views/BrokeringRuns.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,14 @@
</ion-card>
</section>
</main>
<main class="empty-state" v-else>
<img src="../assets/images/BrokeringRunsEmptyState.png" />
<ion-button @click="addNewRun">
{{ translate("Create brokering run") }}
<ion-icon slot="end" :icon="arrowForwardOutline"></ion-icon>
</ion-button>
<main v-else>
<div class="empty-state">
<img src="../assets/images/BrokeringRunsEmptyState.png" />
<ion-button @click="addNewRun">
{{ translate("Create brokering run") }}
<ion-icon slot="end" :icon="arrowForwardOutline"></ion-icon>
</ion-button>
</div>
</main>
</div>
</ion-content>
Expand Down Expand Up @@ -174,11 +176,6 @@ async function redirect(group: Group) {
</script>

<style scoped>
.empty-state {
align-items: center;
gap: 0px;
}
@media (min-width: 991px) {
main {
display: flex;
Expand Down

0 comments on commit 7e57806

Please sign in to comment.