-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix global nav styles #29428
Closed
Closed
Fix global nav styles #29428
Changes from 29 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
dbd917c
fix header gap
kosmydel e477710
set the settings root color to darkHighlightBackground
robertKozik 2f16e92
change signin button avatar
kosmydel 0e4849b
change LHP width
kosmydel fcdae82
fix header gap
kosmydel 117a846
display profile status as bubble beneth avatar
robertKozik 0bba34c
center traffic lights, set padding top to 20px
robertKozik 3ecbe7d
fix color around the avatar
kosmydel e2710d1
Merge branch 'main' into fix-globalnav
kosmydel 3e2b25e
fix typing
kosmydel c54e9fd
fix LHP width
kosmydel b224772
run prettier against changed files
robertKozik f763129
remove todo, add better comment
kosmydel 0fbb284
reduce desktop header padding
kosmydel 859e147
change desktop padding
kosmydel 972911c
fix avatar with workspace border color
kosmydel e41d3a7
refactor avatar background color
kosmydel fae9c87
cleanup
kosmydel 2daaf3d
update optionRow/attachemts/indicator sidebar color
robertKozik a8fbd2c
fix style type - array expected
robertKozik 12aa12e
Fix colors in option row
kosmydel 567f65f
remove excess padding from search icon
robertKozik 0d2417b
unify emoji status displaying
robertKozik 1eadbc3
extend padding top over the safe area
robertKozik 82ae6d7
change styling of status bar
robertKozik c3a6e35
Merge branch 'Expensify:main' into fix-globalnav
kosmydel b8d3b52
fix typo
kosmydel 64511f2
set default headerGap color same as global navigation
robertKozik d57956c
fix naming lhp to lhn
robertKozik 1cae9a5
Merge remote-tracking branch 'upstream/main' into fix-globalnav
robertKozik fad4311
inverse condition isnside desktop HeaderGap component
robertKozik 7309b93
fix merge
robertKozik 6f6ecd0
run prettier against files
robertKozik d8f0279
Merge remote-tracking branch 'upstream/main' into fix-globalnav
robertKozik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
import {PureComponent} from 'react'; | ||
import React, {PureComponent} from 'react'; | ||
import {View} from 'react-native'; | ||
import styles from '../../styles/styles'; | ||
import stylePropTypes from '../../styles/stylePropTypes'; | ||
|
||
export default class HeaderGap extends PureComponent { | ||
const propTypes = { | ||
/** Styles to apply to the HeaderGap */ | ||
// eslint-disable-next-line react/forbid-prop-types | ||
styles: stylePropTypes, | ||
}; | ||
class HeaderGap extends PureComponent { | ||
render() { | ||
return null; | ||
return <View style={[styles.headerGap, ...this.props.styles]} />; | ||
} | ||
} | ||
|
||
HeaderGap.propTypes = propTypes; | ||
HeaderGap.defaultProps = { | ||
styles: [], | ||
}; | ||
export default HeaderGap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
NAB: IMO it makes more sense to reverse this and return the sidebar if the prop is passed rather than checking if it is not passed
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.
Done 👌🏼