fit content of comment

This commit is contained in:
feruz 2020-01-22 09:42:18 +02:00
parent 7c7660b9a7
commit 40a3b60e70

View File

@ -239,13 +239,26 @@ const CommentBody = ({
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
body {
color: ${EStyleSheet.value('$primaryBlack')};
}
a {
color: ${EStyleSheet.value('$primaryBlue')};
cursor: pointer;
cursor: pointer;
}
img {
align-self: 'center';
@ -338,7 +351,6 @@ const CommentBody = ({
display: inline;
color: red;
}
.text-justify {
text-align: justify;
text-justify: inter-word;
@ -365,7 +377,7 @@ const CommentBody = ({
key={`akey-${created.toString()}`}
source={{ html }}
allowsFullscreenVideo={true}
style={{ width: WIDTH - (32 + 34 * (commentDepth % 6)) }}
style={{ width: WIDTH - (40 + 34 * (commentDepth % 6)) }}
customStyle={customStyle}
onMessage={__handleOnLinkPress}
customScript={customCommentScript}