-
Notifications
You must be signed in to change notification settings - Fork 973
Conversation
Add white-space: pre-wrap to fix #10119 Remove redundant styles Auditors: @cezaraugusto Test Plan: 1. Open https://jsfiddle.net/9o5tmgst/1/ 2. Make sure the lines are wrapped 3. Open https://jsfiddle.net/c5o7arqu/ 3. Make sure everything is properly alinged
@@ -162,34 +161,31 @@ class MessageBox extends React.Component { | |||
} | |||
|
|||
const styles = StyleSheet.create({ | |||
dialog: { | |||
outline: 'none' |
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.
Dialog has this style thanks to 2c3126f#diff-5d3d90fdb0c3efa6acd09057f2d4b101R85 (messageBox is focused by default).
outline: 'none' | ||
}, | ||
container: { | ||
outline: 'none', |
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.
div has outline: none by default.
outline: 'none', | ||
display: 'flex', | ||
flexDirection: 'column', | ||
justifyContent: 'space-between' |
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.
divs are aligned vertically by default so I think those are not necessary.
Codecov Report
@@ Coverage Diff @@
## master #10835 +/- ##
=======================================
Coverage 54.16% 54.16%
=======================================
Files 247 247
Lines 21548 21548
Branches 3338 3338
=======================================
Hits 11672 11672
Misses 9876 9876
|
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.
++
Add white-space: pre-wrap to fix #10119
Remove redundant styles
Auditors: @cezaraugusto
Test Plan:
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist:
Tests