-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Edited template of search box result item to fix overflow text in row #2419
Edited template of search box result item to fix overflow text in row #2419
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2419 +/- ##
==========================================
+ Coverage 16.65% 16.65% +<.01%
==========================================
Files 302 302
Lines 7770 7769 -1
Branches 776 776
==========================================
Hits 1294 1294
+ Misses 5879 5878 -1
Partials 597 597
Continue to review full report at Codecov.
|
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.
Let's add text-align: right
to the second p
<span style={{ float: 'right', opacity: 0.5 }}> | ||
<div key={val.value} style={{ ...style, display: 'flex', justifyContent: 'space-between' }}> | ||
<p style={{ margin: 0 }}>{val.value}</p> | ||
<p style={{ opacity: 0.5, margin: 0, paddingLeft: 10 }}> |
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.
Let's add text-align: right
here
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.
Thanks for reviewing !
Issue: #2183
What I did
How to test
Is this testable with jest or storyshots?