Skip to content

Commit

Permalink
Specificity issue solved:
Browse files Browse the repository at this point in the history
added responsive styles in #upload_panel .modalbox-content{} instead of .modalbox-content{}
  • Loading branch information
Hridyanshu7 committed Mar 26, 2024
1 parent f624b81 commit 37726e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions apps/model/model.css
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,14 @@ ul.disabled {
}
#upload_panel .modalbox-content{
width: 30%;

@media only screen and ( max-width: 1100px ) {
width: 50%;
}

@media only screen and ( max-width: 600px ) {
width: 85%;
}
}

#roi_panel .modalbox-content{
Expand Down
8 changes: 0 additions & 8 deletions components/modalbox/modalbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@
padding: 0;
border: 1px solid #888;
width: 80%;

@media only screen and (max-width: 1100px) {
width: 50%;
}

@media only screen and (max-width: 600px) {
width: 85%;
}

box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
Expand Down

0 comments on commit 37726e7

Please sign in to comment.