Skip to content

Commit

Permalink
refactor: swap px for rem
Browse files Browse the repository at this point in the history
  • Loading branch information
katyastan committed Aug 23, 2024
1 parent b9ff7c5 commit 2e2327c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/app/home/components/search/search.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,36 @@
.search-form {
display: flex;
flex-direction: row;
gap: 10px;
gap: $ten;
justify-content: center;

.autocomlete-section {
display: flex;
flex-direction: row;
gap: 10px;
gap: $ten;
}
}
}

@media screen and (width <= 1024px) {
.search-container {
max-width: 748px;
max-width: $offset-xxxl * 9;
margin: 0 auto;

.search-form {
flex-direction: column;
gap: 10px;
max-width: 748px;
gap: $ten;
max-width: $offset-xxxl * 9;

.autocomlete-section {
display: flex;
flex: 50%;
flex-direction: row;
gap: 10px;
gap: $ten;
}

::ng-deep .p-autocomplete input {
width: 369px;
width: $offset-xxxl * 4.4375;
}

::ng-deep .p-calendar {
Expand All @@ -48,7 +48,7 @@
.search-form {
flex-direction: column;
gap: 10px;
max-width: 340px;
max-width: $offset-xxxl * 5;
margin: 0 auto;

.autocomlete-section {
Expand All @@ -57,7 +57,7 @@
}

::ng-deep .p-autocomplete input {
width: 340px;
width: $offset-xxxl * 5;
}

.submit-btn {
Expand Down

0 comments on commit 2e2327c

Please sign in to comment.