Skip to content

Commit

Permalink
#50 optimize page header for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
LisaPMunich committed Jan 14, 2024
1 parent 8ef8e82 commit e1b51c0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
}

.chore-icon {
margin-left: 10px;
margin-right: 10px;
width: 30px;
height: 30px;
margin-left: 15px;
margin-right: 15px;
width: 50px;
height: 50px;
}

.chore-name {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
</div>

<div class="d-flex justify-content-end align-items-center">
<money-sprouts-multilanguage></money-sprouts-multilanguage>
<div>
<money-sprouts-multilanguage></money-sprouts-multilanguage>
</div>
<a
href="/logout"
(click)="onLogout($event)"
Expand Down
5 changes: 5 additions & 0 deletions apps/client/src/shared/page-header/page-header.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
.image-50x50 {
width: 50px;
height: 50px;

@media (max-width: 450px) {
width: 40px;
height: 40px;
}
}

.navbar-text {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class PageHeaderComponent implements OnInit, OnDestroy {
}

get welcomeTitle(): string {
return 'Select your Account';
return 'PAGE_HEADER.PAGE_NAME.ACCOUNT-SELECTION';
}

onLogout(event: Event) {
Expand Down
2 changes: 1 addition & 1 deletion apps/client/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body {
rgba(219, 230, 219, 0.5),
rgba(223, 235, 223, 0.5)
),
url('./assets/images/background.jpg') center/cover no-repeat;
url('./assets/images/background.jpg') center/cover repeat;

display: flex;
flex-direction: column;
Expand Down

0 comments on commit e1b51c0

Please sign in to comment.