2
0
visuddhinanda 9 сар өмнө
parent
commit
a178492619

+ 8 - 17
api-v8/resources/mustache/my_han_crop.tpl

@@ -4,37 +4,28 @@
         <style type="text/css">
             .img {
                 max-height: 27.5%;
-                /*max-width: 85%;*/
-                overflow-x: auto;
-                overflow-y: auto;
-                border-width: 1px 0 1px 0;
+                max-width: 85%;
+                overflow: auto;
+                border-width: 1px;
                 border-style: dashed;
                 border-color: transparent;
                 resize: vertical;
+                overflow: auto;
                 position: relative;
             }
 
-            .img:hover {
-                border-color: black;
-            }
             .dict {
                 width: 45vw;
             }
 
-            .crop_a {
-                clip-path: inset(0 0 0 15%);
-                margin-left: -15%;
-            }
-            .crop_b {
-                clip-path: inset(0 15% 0 0);
-                margin-right: -15%;
-            }
             .word {
                 width: 10vw;
+                display: block;
             }
 
-            .word-img {
-                width: 45vw;
+            .word-img img{
+                width: 35vw;
+                margin: -5px;
             }
 
             /* 默认滚动条样式 */