message box

This commit is contained in:
medet97 2020-05-15 14:53:47 +05:00
parent d4fa88cf59
commit 6069628528
2 changed files with 2 additions and 2 deletions

View File

@ -2433,5 +2433,5 @@ display: block;
top: 8px; top: 8px;
bottom: auto; bottom: auto;
border: 12px solid; border: 12px solid;
border-color: #e3e3e3 #e3e3e3 transparent transparent; border-color: #d43d34 #d43d34 transparent transparent;
} }

View File

@ -47,7 +47,7 @@
<div style="width: calc(100% - 120px); @if($comment->user_id) float: left; @endif"> <div style="width: calc(100% - 120px); @if($comment->user_id) float: left; @endif">
<p class="@if($comment->user_id) message-one-left @else message-one-right @endif" <p class="@if($comment->user_id) message-one-left @else message-one-right @endif"
style="@if($comment->user_id) @else margin-bottom: -8px; @endif position: relative; width: calc(100% - 50px); background-color: #e3e3e3; color: #000000; padding: 10px 30px; border-radius: 5px;">{{$comment->text}}</p> style="@if($comment->user_id) background-color: #d43d34; color: #ffffff; @else margin-bottom: -8px; background-color: #e3e3e3; color: #000000; @endif position: relative; width: calc(100% - 50px); padding: 10px 30px; border-radius: 5px;">{{$comment->text}}</p>
</div> </div>
<br> <br>
@if($comment->attachment) @if($comment->attachment)