Browse Source

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

SongZihuan 3 years ago
parent
commit
805629cae9
1 changed files with 5 additions and 5 deletions
  1. 5 5
      templates/test.html

+ 5 - 5
templates/test.html

@@ -74,11 +74,11 @@
                                 </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>