Skip to content

Commit

Permalink
[BUG] Image upload modal not visible completely (#619)
Browse files Browse the repository at this point in the history
* fix: #618 model z index fixed

* fix: responsive profile edit button

* fix: #618 mobile dialog fix
  • Loading branch information
mdansarijaved authored Oct 22, 2024
1 parent 1d28285 commit ba61b42
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 29 deletions.
53 changes: 27 additions & 26 deletions app/styles/components/mobile-dialog.css
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
.mobile-dialog {
display: block;
border-radius: 4px;
display: block;
border-radius: 4px;
padding: 0.5rem 1rem;
font-weight: 900;
margin: 0 auto;
font-size: large;
text-align: center;
background-color: var(--form--bg);
border: none;
z-index: 2;
box-shadow: 4px 8px 8px var(--mobile-dialog-box-shadow);
& button {
padding: 0.5rem 1rem;
font-weight: 900;
margin: 0 auto;
font-size:large;
text-align: center;
background-color: var(--form--bg);
margin: 1rem;
font-size: medium;
border: none;
box-shadow: 4px 8px 8px var(--mobile-dialog-box-shadow);
& button {
padding: 0.5rem 1rem;
margin: 1rem;
font-size:medium;
border: none;
border-radius: 4px;
color: var(--body-bg-color);
font-weight: 600;
}
}

#mobile-dialog__open-button {
background-color: var(--mobile-dialog--open-button);
border-radius: 4px;
color: var(--body-bg-color);
font-weight: 600;
}

#mobile-dialog__close-button {
background-color: var(--body-bg-color);
color: var(--landing-page--main-heading);
}
}

#mobile-dialog__open-button {
background-color: var(--mobile-dialog--open-button);
}

#mobile-dialog__close-button {
background-color: var(--body-bg-color);
color: var(--landing-page--main-heading);
}
6 changes: 3 additions & 3 deletions app/styles/profile.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,9 @@
padding: 0.5rem;
border-radius: 100%;
position: absolute;
top: 0.5rem;
right: 1rem;
top: 5%;
right: 5%;
font-size: 1rem;
margin-top: 0.5rem;
color: var(--profile-edit-btn-clr);
font-weight: 600;
}
Expand All @@ -132,6 +131,7 @@
background: var(--overlay--bg);
position: fixed;
top: 0;
z-index: 1;
}

.image-upload-modal {
Expand Down

0 comments on commit ba61b42

Please sign in to comment.