Ver Fonte

clearfix 추가

잉여개발기 (SPDV) há 3 meses atrás
pai
commit
7e0671de34
2 ficheiros alterados com 6 adições e 0 exclusões
  1. 2 0
      route/view_w.py
  2. 4 0
      views/main_css/css/main.css

+ 2 - 0
route/view_w.py

@@ -362,6 +362,8 @@ async def view_w(name = 'Test', do_type = '', doc_rev = ''):
         other_set = {}
         other_set['doc_name'] = name
 
+        div += '<div class="opennamu_clearfix"></div>'
+
         comment_api = await python_to_golang("api_w_comment", other_set = other_set)
         comment = comment_api['data']
 

+ 4 - 0
views/main_css/css/main.css

@@ -518,4 +518,8 @@
     padding: 20px;
 
     border: 1px solid gainsboro;
+}
+
+.opennamu_main .opennamu_clearfix {
+    clear: both;
 }