<p class="item">
<img ng-src="{{file.path}}" ng-repeat="file in fileList" ng-click="goToViewFile()" class="avatar" style="width: 100px;height: 100px;padding: 5px">
</p>
最后的显示结果如下:
一共6张图片明显有2张溢出无法显示
请问如何设置样式,让溢出的图像能够换行显示
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
请贴出你的css样式代码:
你可以尝试着,在<img>标签中使用 style="float:left"