Skip to content

Commit

Permalink
Adjust styles for large font sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
mapsandapps committed Sep 29, 2023
1 parent 84bfdca commit d40f6a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/app/app.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ ion-menu.md ion-list-header {
padding-right: 18px;
padding-left: 18px;

font-size: min(1.375rem, 36px);

font-weight: 450;

letter-spacing: .1em;
Expand Down Expand Up @@ -67,6 +69,8 @@ ion-menu.ios ion-list-header {

padding-right: 16px;
padding-left: 16px;

font-size: clamp(22px, 1.375rem, 40px);
}

ion-menu.ios ion-list {
Expand Down
4 changes: 3 additions & 1 deletion src/app/pages/about/about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,15 @@ ion-toolbar ion-menu-button {
}

.about-info {
position: absolute;
position: relative;

margin-top: -10px;

border-radius: 10px;

background: var(--ion-background-color, #ffffff);

z-index: 2; // display rounded border above header image
}

.about-info h3 {
Expand Down

0 comments on commit d40f6a6

Please sign in to comment.