Skip to content

Commit

Permalink
refactor(UI): gain some vertical space above submit button (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn authored Nov 30, 2024
1 parent 492b628 commit eff962a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/components/ProductInputRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<span class="d-sm-none">{{ $t('AddPriceSingle.ProductInfo.TypeBarcodeShort') }}</span>
<span class="d-none d-sm-inline-flex">{{ $t('Common.BarcodeType') }}</span>
</v-btn>
<ProductCard v-if="productForm.product" class="mb-2" :product="productForm.product" :hideCategoriesAndLabels="true" :hideProductActions="true" :readonly="true" elevation="1" />
<ProductCard v-if="productForm.product" :product="productForm.product" :hideCategoriesAndLabels="true" :hideProductActions="true" :readonly="true" elevation="1" />
</v-sheet>
<v-sheet v-if="productForm.mode === 'category'">
<v-row>
Expand Down
24 changes: 13 additions & 11 deletions src/views/AddPriceMultiple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,19 @@
<PriceInputRow :priceForm="productPriceForm" :product="productPriceForm.product" :hideCurrencyChoice="true" @filled="pricePriceFormFilled = $event" />
</v-col>
</v-row>
</v-card-text>
<v-divider />
<v-card-text class="float-right">
<v-btn
color="success"
type="submit"
:loading="createPriceLoading"
:disabled="!productPriceFormFilled"
>
{{ $t('Common.Upload') }}
</v-btn>
<v-row>
<v-col>
<v-btn
class="float-right"
color="success"
type="submit"
:loading="createPriceLoading"
:disabled="!productPriceFormFilled"
>
{{ $t('Common.Upload') }}
</v-btn>
</v-col>
</v-row>
</v-card-text>
</v-card>
</v-form>
Expand Down

0 comments on commit eff962a

Please sign in to comment.