Skip to content

Commit

Permalink
fix: adicionado margin top ao textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavogularte committed Jul 15, 2024
1 parent b5bcc82 commit 4987f2a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/layouts/app/pages/PetVet/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,12 @@ export default function PetVetPage({ vaccines = [] } = {}) {
required: true,
});

specialCare.listen('change', () =>
this.specialCareText.mount($specialCareText),
);
specialCare.listen('change', () => {
this.specialCareText.mount($specialCareText);
this.specialCareText.selected
.get('textarea')
.classList.add('petvet-page__textarea');
});
notSpecialCare.listen('change', () => {
this.specialCareText.selected.get('textarea').value = '';
this.specialCareText.unmount($specialCareText);
Expand Down
4 changes: 4 additions & 0 deletions src/layouts/app/pages/PetVet/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@
align-items: center;
}

&__textarea {
margin-top: 1.6rem;
}

&__card-content {
width: 100%;

Expand Down

0 comments on commit 4987f2a

Please sign in to comment.