Skip to content

Commit

Permalink
Improved spacing of layout for better visiblity
Browse files Browse the repository at this point in the history
  • Loading branch information
dt2patel authored Oct 4, 2023
1 parent 0bab469 commit b7e899b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
13 changes: 10 additions & 3 deletions src/theme/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,15 @@ ion-thumbnail > img {
}

.filters ion-item:first-child {
margin-left: var(--spacer-xs);
margin-left: var(--spacer-sm);
}

.filters ion-item:last-child {
margin-right: var(--spacer-xs);
margin-right: var(--spacer-sm);
}

.bulk-action {
margin: var(--spacer-sm) var(--spacer-sm) var(--spacer-xl);
margin: var(--spacer-xl) var(--spacer-sm) var(--spacer-lg);
}

img {
Expand Down Expand Up @@ -372,12 +372,19 @@ img {

@media (min-width: 991px) {
/* shipment card desktop layout start */
ion-searchbar.better-name-here {
padding-top: var(--spacer-base);
padding-inline: var(--spacer-sm)
}

.results {
max-width: 1100px;
margin-inline: auto;
}

.order {
margin-inline: var(--spacer-sm);
margin-block-end: var(--spacer-lg);
box-shadow: 3px 8px 18px -2px rgba(0,0,0, .2), -2px -2px 13px -6px rgba(0,0,0, .2);
}

Expand Down
2 changes: 1 addition & 1 deletion src/views/Completed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</ion-header>

<ion-content id="view-size-selector">
<ion-searchbar :value="completedOrders.query.queryString" @keyup.enter="updateQueryString($event.target.value)" />
<ion-searchbar class="better-name-here" :value="completedOrders.query.queryString" @keyup.enter="updateQueryString($event.target.value)" />

<div v-if="completedOrders.total">

Expand Down
2 changes: 1 addition & 1 deletion src/views/InProgress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</ion-header>

<ion-content id="view-size-selector">
<ion-searchbar v-model="inProgressOrders.query.queryString" @keyup.enter="updateQueryString($event.target.value)"/>
<ion-searchbar class="better-name-here" v-model="inProgressOrders.query.queryString" @keyup.enter="updateQueryString($event.target.value)"/>
<div v-if="inProgressOrders.total">
<ion-radio-group v-model="selectedPicklistId" @ionChange="updateSelectedPicklist($event.detail.value)">
<ion-row class="filters">
Expand Down
4 changes: 2 additions & 2 deletions src/views/OpenOrders.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ion-header>

<ion-content id="view-size-selector">
<ion-searchbar :value="openOrders.query.queryString" @keyup.enter="updateQueryString($event.target.value)"/>
<ion-searchbar class="better-name-here" :value="openOrders.query.queryString" @keyup.enter="updateQueryString($event.target.value)"/>
<div v-if="openOrders.total">
<div class="filters">
<ion-item lines="none" v-for="method in shipmentMethods" :key="method.val">
Expand All @@ -33,7 +33,7 @@
</div>

<div class="results">
<ion-button class="bulk-action desktop-only" fill="outline" size="large" @click="assignPickers">{{ $t("Print Picksheet") }}</ion-button>
<ion-button class="bulk-action desktop-only" size="large" @click="assignPickers">{{ $t("Print Picksheet") }}</ion-button>

<ion-card class="order" v-for="(orders, index) in getOpenOrders()" :key="index">
<div class="order-header">
Expand Down

0 comments on commit b7e899b

Please sign in to comment.