Tree 1 dag sedan
förälder
incheckning
99c4d6d076
1 ändrade filer med 7 tillägg och 4 borttagningar
  1. 7 4
      resources/views/admin/game_site/builder.blade.php

+ 7 - 4
resources/views/admin/game_site/builder.blade.php

@@ -178,13 +178,16 @@
 .te-save-order-btn:hover { background:rgba(76,175,80,0.3) !important; }
 
 /* ===== 游戏卡片网格 ===== */
-.gg { display:grid; gap:8px; }
+.gg { display:grid; gap:6px; }
 .gg.cols-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .gg.cols-5 { grid-template-columns:repeat(5,minmax(0,1fr)); }
 .gg.cols-7 { grid-template-columns:repeat(7,minmax(0,1fr)); }
-.gc { border:1px solid #eee; background:#fff; border-radius:6px; padding:6px; cursor:move; min-height:90px; }
-.gc img { width:100%; min-height:156px; object-fit:cover; border-radius:4px; background:#f3f3f3; }
-.gc .gc-t { font-size:11px; line-height:1.2; margin-top:3px; height:28px; overflow:hidden; }
+.gc { display:grid; grid-template-columns:72px minmax(0,1fr); column-gap:6px; align-items:start; border:1px solid #eee; background:#fff; border-radius:6px; padding:5px; cursor:move; min-height:0; }
+.gc img { grid-row:1 / span 3; width:72px; height:54px; object-fit:contain; border-radius:4px; background:#f3f3f3; }
+.gc .gc-t { font-size:11px; line-height:1.15; margin-top:0; height:26px; overflow:hidden; }
+.gc small { display:block; font-size:10px; line-height:1.1; height:12px; overflow:hidden; }
+.gc br { display:none; }
+.gc .remove-gc, .gc .add-gc { justify-self:start; line-height:1.2; }
 .pv-switch.active { border:1px solid #b66dff; color:#b66dff; }
 #routeSortList .list-group-item { cursor:move; }
 </style>