瀏覽代碼

fix: 修复按钮显示错误的问题

SongZihuan 3 年之前
父節點
當前提交
805629cae9
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      templates/test.html

+ 5 - 5
templates/test.html

@@ -74,11 +74,11 @@
                                 </div>
                                 </div>
                             </div>
                             </div>
 
 
-                            <a class="btn btn-info mr-2" href="{{ url_for("test.right", word_id=word_id) }}"> Right </a>
-                            <a class="btn btn-dark mr-2" href="{{ url_for("test.question") }}"> Next word </a>
-                            <a class="btn btn-light mr-2" href="{{ url_for("test.download", word=word.name) }}"> Download word </a>
-                            <a class="btn btn-danger mr-2" data-toggle="modal" data-target="#DeleteModal" > Delete word </a>
-                            <a class="btn btn-info" href="{{ url_for("test.wrong", word_id=word_id) }}" > Wrong </a>
+                            <a class="btn btn-dark mr-2 mb-2" href="{{ url_for("test.question") }}"> Next word </a>
+                            <a class="btn btn-light mr-2 mb-2" href="{{ url_for("test.download", word=word.name) }}"> Download word </a>
+                            <a class="btn btn-danger mr-2 mb-2" data-toggle="modal" data-target="#DeleteModal" > Delete word </a>
+                            <a class="btn btn-info mr-2 mb-2" href="{{ url_for("test.right", word_id=word_id) }}"> Right </a>
+                            <a class="btn btn-info mr-2 mb-2" href="{{ url_for("test.wrong", word_id=word_id) }}" > Wrong </a>
                         </div>
                         </div>
                     </div>
                     </div>
                 </div>
                 </div>