Skip to content

Commit

Permalink
Merge pull request #1323 from udayjordan/fix-issue-1322
Browse files Browse the repository at this point in the history
 Fix for issue #1322 : Changed the media query for better margin and …
  • Loading branch information
violetadev authored Oct 22, 2024
2 parents 080b2e2 + 01fb080 commit 9044b36
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions desktop-app-legacy/app/components/WebView/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,59 @@
.withMarginRight {
margin-right: 5rem;
}

/* For tablets (iPad Mini, iPad Pro, general tablet size) */
@media (max-width: 1024px) {
.webViewContainer {
min-width: 150px;
}
.webViewToolbar {
margin: 5px 2px;
flex-direction: column;
}
.webViewToolbarIcons {
height: 25px;
width: 25px;
}
.resizableView {
margin: 0 0.5rem 0.5rem 0;
}
}

/* For mobile devices (iPhone X, iPhone 14 Pro) */
@media (max-width: 768px) {
.webViewContainer {
min-width: 120px;
}
.webViewToolbar {
margin: 3px 1px;
flex-direction: column;
align-items: flex-start;
}
.webViewToolbarIcons {
height: 20px;
width: 20px;
}
.resizableView {
margin: 0 0.25rem 0.25rem 0;
}
}

/* For small screens */
@media (max-width: 480px) {
.webViewContainer {
min-width: 100px;
}
.webViewToolbar {
margin: 2px 1px;
flex-direction: column;
align-items: flex-start;
}
.webViewToolbarIcons {
height: 18px;
width: 18px;
}
.resizableView {
margin: 0 0.25rem 0.25rem 0;
}
}

0 comments on commit 9044b36

Please sign in to comment.