问题描述
我正在使用现实的wordpress主题,我试图显示以主题为中心的实际图像
.iwp-property-gallery-slider-v1 .owl-item figure img {
position: relative;
width: auto;
max-width: 800px;
}
此处的图像在项目的每个末端都带有额外的空白。任何帮助将不胜感激。
解决方法
自动宽度不是您可以通过CSS来控制的。
您需要使用this.dialog.open(ConfirmComponent,{
width: '350px',data: {
title: "Confirmation message",message: "Do you accept these terms and conditions?",},});
检查文档Here