diff --git a/frontend/src/components/DeDrag/index.vue b/frontend/src/components/DeDrag/index.vue index 4d11ced659..307613ee69 100644 --- a/frontend/src/components/DeDrag/index.vue +++ b/frontend/src/components/DeDrag/index.vue @@ -30,7 +30,7 @@ ]" :style="mainSlotStyle" > - +
- {{ template.name }} -
@@ -59,25 +57,25 @@ export default { .testcase-template { display: inline-block; - margin: 10px 30px; - width: 150px; + margin: 10px 0px; + width: 90px; } .demonstration { display: block; - font-size: 14px; + font-size: 8px; color: gray; text-align: center; margin: 10px auto; - width: 150px; + width: 130px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .template-img { - height: 112px; - width: 200px; + height: 80px; + width: 130px; margin: 0 auto; box-shadow: 0 0 2px 0 rgba(31,31,31,0.15), 0 1px 2px 0 rgba(31,31,31,0.15); border: solid 2px #fff; diff --git a/frontend/src/views/background/index.vue b/frontend/src/views/background/index.vue index d91dcd9809..9807d56b51 100644 --- a/frontend/src/views/background/index.vue +++ b/frontend/src/views/background/index.vue @@ -1,24 +1,75 @@