1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Issue #4332 - Chatbox menu styling. PM menu button size fix.

This commit is contained in:
Cameron
2021-01-02 08:51:34 -08:00
parent 204603f38a
commit 4d4750e9cc
3 changed files with 3 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ class chatbox_menu_shortcodes extends e_shortcode
{
$tp = e107::getParser();
$size = !empty($parm['size']) ? $parm['size'] : 40;
$options = array('h' => $size, 'w' => $size, 'crop' => 'C');
$options = array('h' => $size, 'w' => $size, 'crop' => 'C', 'shape'=>varset($parm['shape']));
if ( ! isset($this->var['user_image']) ) {
$this->init();

View File

@@ -21,7 +21,7 @@ $CHATBOX_MENU_TEMPLATE['menu']['start'] =
$CHATBOX_MENU_TEMPLATE['menu']['item'] = '
<li class="media">
<div class="media-left">
<span class="media-object">{CB_AVATAR}</span>
<span class="media-object mr-3">{CB_AVATAR: shape=circle&size=48}</span>
</div>
<div class="media-body">
<b>{CB_USERNAME}</b>&nbsp;