-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mobile view redesign#403/zubkov #428
Conversation
src/app/app.component.html
Outdated
<app-shell></app-shell> | ||
<app-footer></app-footer> | ||
<!-- Content of the page with opened sidebar --> | ||
<mat-drawer-container> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extract it to component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extracted
src/app/app.component.ts
Outdated
export class AppComponent implements OnInit, OnDestroy{ | ||
|
||
readonly Languages: typeof Languages = Languages; | ||
selectedLanguage: string = 'uk' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
selected lang should be get from storage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please let me know when you could clarify about this question
src/app/header/header.component.scss
Outdated
flex-direction: row; | ||
align-items: center; | ||
position: fixed; | ||
position: absolute; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do you change position to absolute?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
returned, fixed and z-index as well
|
||
@Selector() | ||
static navigationPathsMobile(state: NavStateModel): Navigation[] { | ||
const navigation = [...state.navigation] | ||
return [navigation.pop()] | ||
return [navigation.pop()] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please put semicolon where they are missed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't know why it showed up here, but it's not my changes
anyway, semicolon added
SidenavToggle({patchState,getState}:StateContext<NavStateModel>): void { | ||
const sidenavOpenState = getState().sidenavOpen | ||
patchState({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 spaces tab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
…a-social-projects/OoS-Frontend into mobileViewRedesign#403/Zubkov
No description provided.