* [bug#58286] adjust instance logo.

This commit is contained in:
caoyanyi
2024-12-17 16:55:49 +08:00
committed by 田淑杰
parent 1edc6a640e
commit e713e8571c
+1 -1
View File
@@ -108,7 +108,7 @@ div
div
(
setClass('flex basis-full'),
$type === 'store' ? img(set::src($instance->logo), setStyle(array('width' => '50px', 'height' => '50px'))) : null,
$type === 'store' && !empty($instance->logo) ? img(set::src($instance->logo), setStyle(array('width' => '50px', 'height' => '50px'))) : null,
div
(
setClass(($type === 'store' ? 'ml-3' : '') . ' flex col gap-y-1 basis-full'),