Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

fix(ChatMessage): styles #962

Merged
merged 7 commits into from
Feb 25, 2019
Merged

fix(ChatMessage): styles #962

merged 7 commits into from
Feb 25, 2019

Conversation

kuzhelov
Copy link
Contributor

No description provided.

@kuzhelov kuzhelov added 🧰 fix Introduces fix for broken behavior. redlines Update of the redlines for the mentioned component labels Feb 25, 2019
@codecov
Copy link

codecov bot commented Feb 25, 2019

Codecov Report

Merging #962 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #962      +/-   ##
=========================================
- Coverage   80.72%   80.7%   -0.02%     
=========================================
  Files         659     659              
  Lines        8457    8459       +2     
  Branches     1429    1431       +2     
=========================================
  Hits         6827    6827              
- Misses       1616    1618       +2     
  Partials       14      14
Impacted Files Coverage Δ
...emes/teams/components/Chat/chatMessageVariables.ts 100% <ø> (ø) ⬆️
.../themes/teams/components/Chat/chatMessageStyles.ts 21.73% <0%> (-2.08%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 600115a...8e2fd2c. Read the comment docs.

Copy link
Collaborator

@bmdalex bmdalex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, couple of comments

@kuzhelov kuzhelov changed the title fix(ChatMessage) styles fix(ChatMessage): styles Feb 25, 2019
marginLeft: p.mine ? marginOffset : 0,
marginRight: !p.mine ? marginOffset : 0,
maxWidth: `calc(100% - ${marginOffset})`,
minWidth: marginOffset,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would introduce the marginOffset as a variable, but it is used as minWidth as well, which will mean maybe we need variables... Just thinking out loud :) Maybe it's better if it stays as it is..

Copy link
Collaborator

@bmdalex bmdalex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@kuzhelov kuzhelov merged commit 45e8790 into master Feb 25, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix/chat-message-styles branch February 25, 2019 19:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🧰 fix Introduces fix for broken behavior. 🚀 ready for review redlines Update of the redlines for the mentioned component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants