Skip to content

Commit

Permalink
feat(ui): remove unused style of modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Vu Van Duc authored and Vu Van Duc committed May 4, 2024
1 parent 5659639 commit 65fde26
Showing 1 changed file with 0 additions and 52 deletions.
52 changes: 0 additions & 52 deletions src/ui/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -267,55 +267,3 @@ ion-segment {
}
}
}

/* Legacy styles that we need to keep for now */
.modal {
padding-inline: 1.25rem;
background-color: var(--ion-color-light);
border-radius: 1rem 1rem 0px 0px;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;

ion-toolbar {
padding: 0.5rem 0 0 !important;
height: 4rem;
}

ion-content {
&.ios {
height: calc(
calc(var(--scale-h) * 100) - (6rem + env(safe-area-inset-top))
);
}

&.md {
height: calc(calc(var(--scale-h) * 100) - 6rem);
}
}

ion-title {
position: absolute;
width: 100%;
height: 3rem;
top: 0;
left: 0;
}

h2 {
margin: 0 auto;
font-size: 1.5rem;
}

.action-button-label,
.close-button-label {
color: var(--ion-color-primary);
}
}

.extended-modal::part(content) {
height: 50rem;
}
/* End of legacy styles */

0 comments on commit 65fde26

Please sign in to comment.