-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15319 from allroundexperts/fix-14148
feat: added conditional styles for chat focus mode
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import styles from '../styles'; | ||
|
||
const compactContentContainerStyles = styles.alignItemsBaseline; | ||
|
||
export { | ||
// eslint-disable-next-line import/prefer-default-export | ||
compactContentContainerStyles, | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import styles from '../styles'; | ||
|
||
/** | ||
* On native platforms, alignItemsBaseline does not work correctly | ||
* in lining the items together. As such, on native platform, we're | ||
* keeping compactContentContainerStyles as it is. | ||
* https://github.com/Expensify/App/issues/14148 | ||
*/ | ||
|
||
const compactContentContainerStyles = styles.alignItemsCenter; | ||
|
||
export { | ||
// eslint-disable-next-line import/prefer-default-export | ||
compactContentContainerStyles, | ||
}; |