xiaogang 3 rokov pred
rodič
commit
9ae6df7b06
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      app/Admin/Actions/Chat/ChatLog.php

+ 2 - 2
app/Admin/Actions/Chat/ChatLog.php

xqd xqd
@@ -18,7 +18,7 @@ class ChatLog extends LazyRenderable
             $grid->column('From_Account','用户1')->display(function ($res){
                 $user = User::query()->where('tencent_im_user_id',$res)->with("user_info")->first();
                 $str = "";
-                $str.="<div style='margin-right:10px;text-align: center'>";
+                $str.="<div style='margin-right:10px;text-align: center;display: flex'>";
                 $str.='<img data-action="preview-img" src="'.$user->user_info->avatar.'" style="max-width:50px;max-height:50px;cursor:pointer" class="img img-thumbnail">';
                 $str.='<p style="margin-top: 5px">'.$user->user_info->nickname.'</p>';
                 $str.="</div>";
@@ -27,7 +27,7 @@ class ChatLog extends LazyRenderable
             $grid->column('To_Account','用户2')->display(function ($res){
                 $user = User::query()->where('tencent_im_user_id',$res)->with("user_info")->first();
                 $str = "";
-                $str.="<div style='margin-right:10px;text-align: center'>";
+                $str.="<div style='margin-right:10px;text-align: center;display: flex'>";
                 $str.='<img data-action="preview-img" src="'.$user->user_info->avatar.'" style="max-width:50px;max-height:50px;cursor:pointer" class="img img-thumbnail">';
                 $str.='<p style="margin-top: 5px">'.$user->user_info->nickname.'</p>';
                 $str.="</div>";