Skip to content

Commit

Permalink
fix button card style
Browse files Browse the repository at this point in the history
  • Loading branch information
dt2patel committed Jan 30, 2024
1 parent 2bbc4a8 commit 155cd0e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
18 changes: 8 additions & 10 deletions src/theme/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,6 @@ http://ionicframework.com/docs/theming/ */

--ion-card-background: #1e1e1e;
}

.overline {
font-weight: 500 !important;
font-size: 10px !important;
line-height: 16px !important;
letter-spacing: 1.5px;
color: #666;
text-transform: uppercase !important;
}
}

@media (prefers-color-scheme: dark) {
Expand Down Expand Up @@ -402,4 +393,11 @@ hr {
.mobile-only {
display: none;
}
}

.button-card {
display: grid;
place-items: center;
align-self: stretch;
}

}
2 changes: 1 addition & 1 deletion src/views/FindGroups.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<ion-label>{{ group.description }}</ion-label>
</ion-item>
</ion-card>
<ion-card>
<ion-card class="button-card">
<ion-button color="medium" fill="clear" @click="openCreateFacilityGroupModal()">
<ion-icon :icon="addOutline" slot="start"/>
{{ translate('Create group') }}
Expand Down
2 changes: 1 addition & 1 deletion src/views/Parking.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<ion-label>{{ facility.description }}</ion-label>
</ion-item>
</ion-card>
<ion-card>
<ion-card class="button-card">
<ion-button color="medium" fill="clear" @click="openCreateVirtualFacilityModal()">
<ion-icon :icon="addOutline" slot="start"/>
{{ translate('Add new parking') }}
Expand Down

0 comments on commit 155cd0e

Please sign in to comment.