diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index db04eedd1..45a3d4e3e 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -244,7 +244,7 @@ export default { firstCodeInput: `vn-item-niche vn-horizontal:nth-child(1) > vn-textfield[label="Code"] input`, secondWarehouseAutocomplete: `vn-item-niche vn-horizontal:nth-child(2) > vn-autocomplete[field="niche.warehouseFk"]`, secondCodeInput: `vn-item-niche vn-horizontal:nth-child(2) > vn-textfield[label="Code"] input`, - secondNicheRemoveButton: `vn-item-niche vn-horizontal:nth-child(2) > vn-none > vn-icon[icon="delete"]`, + secondNicheRemoveButton: `vn-item-niche vn-horizontal:nth-child(2) > vn-none > vn-icon-button[icon="delete"]`, thirdWarehouseAutocomplete: `vn-item-niche vn-horizontal:nth-child(3) > vn-autocomplete[field="niche.warehouseFk"]`, thirdCodeInput: `vn-item-niche vn-horizontal:nth-child(3) > vn-textfield[label="Code"] input`, submitNichesButton: `vn-item-niche ${components.vnSubmit}` @@ -423,7 +423,7 @@ export default { firstQuantityInput: 'vn-ticket-service vn-textfield[label="Quantity"] input', firstPriceInput: 'vn-ticket-service vn-textfield[label="Price"] input', firstVatTypeAutocomplete: 'vn-ticket-service vn-autocomplete[label="Tax class"]', - fistDeleteServiceButton: 'vn-ticket-card > vn-main-block > div.content-block.ng-scope > vn-ticket-service > form > vn-card > div > vn-one:nth-child(1) > vn-horizontal:nth-child(1) > vn-auto > vn-icon[icon="delete"]', + fistDeleteServiceButton: 'vn-ticket-card > vn-main-block > div.content-block.ng-scope > vn-ticket-service > form > vn-card > div > vn-one:nth-child(1) > vn-horizontal:nth-child(1) > vn-auto > vn-icon-button[icon="delete"]', serviceLine: 'vn-ticket-service > form > vn-card > div > vn-one:nth-child(2) > vn-horizontal', saveServiceButton: `${components.vnSubmit}` }, diff --git a/front/core/components/icon-button/style.scss b/front/core/components/icon-button/style.scss index d5932fa39..a93096840 100644 --- a/front/core/components/icon-button/style.scss +++ b/front/core/components/icon-button/style.scss @@ -4,19 +4,22 @@ vn-icon-button { outline: 0; color: $color-main; display: inline-block; + font-size: 18pt; + padding: .25em; & > button { background-color: transparent; display: block; color: inherit; border: 0; - padding: .25em; + padding: 0; &:hover { background-color: initial; } & > vn-icon { display: block; + font-size: inherit; } } } diff --git a/front/salix/components/app/style.scss b/front/salix/components/app/style.scss index 83b6dc736..d2d4e516e 100644 --- a/front/salix/components/app/style.scss +++ b/front/salix/components/app/style.scss @@ -57,6 +57,8 @@ vn-app { margin: $margin-medium; form vn-horizontal { + align-items: center; + & > * { padding: .2em; } diff --git a/front/salix/components/main-menu/main-menu.html b/front/salix/components/main-menu/main-menu.html index 188f854eb..8d46ccb8d 100644 --- a/front/salix/components/main-menu/main-menu.html +++ b/front/salix/components/main-menu/main-menu.html @@ -5,31 +5,27 @@ class="unselectable"> {{currentUserName}} -