Skip to content

Commit

Permalink
fix: dashboard info block cards alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
smellyshovel committed Aug 5, 2019
1 parent 4909620 commit 9635b15
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions src/components/dashboard/DashboardInfoBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
flat
icon-right="ion ion-ios-arrow-forward"
color="success"
class="ma-0"
>
{{$t('dashboard.info.exploreGallery')}}
</va-button>
Expand Down Expand Up @@ -116,4 +117,18 @@ export default {
}
}
}
.dashboard {
.va-card__header--over {
@include media-breakpoint-up(md) {
padding-top: 0 !important;
}
}
.va-card__image {
@include media-breakpoint-up(md) {
padding-bottom: 0 !important;
}
}
}
</style>
2 changes: 1 addition & 1 deletion src/components/ui/cards/Cards.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
image="https://picsum.photos/300/200/?image=898"
:title="$t('cards.title.withCustomTitleOnImage')"
>
<va-button slot="header">
<va-button slot="header" class="ma-0">
Read More
</va-button>
</va-card>
Expand Down

0 comments on commit 9635b15

Please sign in to comment.