优化页尾编辑 版权信息,被删除图片后不应该显示默认图

This commit is contained in:
pushuo 2023-01-16 11:53:43 +08:00 committed by Edward Yang
parent f643c76632
commit fcee9191ad
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ footer {
color: #666;
@media (min-width:768px) {
height: 60px;
min-height: 60px;
}
@media (max-width:768px) {

View File

@ -74,7 +74,7 @@
<div class="col">
{!! $footer_content['bottom']['copyright'][$locale] ?? '' !!}
</div>
@if (isset($footer_content['bottom']['image']))
@if (isset($footer_content['bottom']['image']) && $footer_content['bottom']['image'])
<div class="col-auto right-img">
<img src="{{ image_origin($footer_content['bottom']['image']) }}" class="img-fluid">
</div>