Explorar el Código

修复图片未占满bug

master
suomingxiang hace 1 mes
padre
commit
cf13864eb1
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6
    0
      src/pages/index/index.less

+ 6
- 0
src/pages/index/index.less Ver fichero

@@ -186,8 +186,14 @@
186 186
         height: 100%;
187 187
         top: 0;
188 188
         left: 0;
189
+        a{
190
+          height: 100%;
191
+          display: inline-block;
192
+        }
189 193
         img{
190 194
           width: 100%;
195
+          height: 100%;
196
+          object-fit: cover;
191 197
           display: block;
192 198
         }
193 199
         .slideZ{

Loading…
Cancelar
Guardar