Skip to content

Commit

Permalink
Fix responsive layout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Dec 14, 2024
1 parent 62dc9cc commit fb931ea
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions frontend/src/assets/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,22 @@ div.content {
background-color: #FAFAFA;
}

@media only screen and (width <=550px) {
.search-dialog-content {
width: calc(100%- 20px);
max-width: 480px;
}
}

@media only screen and (width <=960px) and (width >550px) {
.search-dialog-content {
width: 480px;
overflow-x: hidden;
}
}

@media only screen and (width <=960px) {

.buttons {
margin-top: 15px;
margin-bottom: 5px;
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/assets/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,8 @@ div.home div.customer-care div.customer-care-img img {
div.home div.search div.home-search {
padding: 20px 10px;
margin: -187px 20px 0 20px;
width: calc(100% - 20px);
max-width: 480px;
}

div.home div.why div.why-boxes,
Expand Down

0 comments on commit fb931ea

Please sign in to comment.