Explorar o código

Merge pull request #78 from visuddhinanda/master

markdown 文字不折行
visuddhinanda %!s(int64=5) %!d(string=hai) anos
pai
achega
f9c8002bc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/course/course.php

+ 1 - 1
app/course/course.php

@@ -89,7 +89,7 @@ echo "</div>";
     for(const lesson of  arrLesson){
     for(const lesson of  arrLesson){
         html+= '<div class="card" style="display:flex;margin:1em;padding:10px;">';
         html+= '<div class="card" style="display:flex;margin:1em;padding:10px;">';
 
 
-        html+= '<div style="flex:7;">';
+        html+= '<div style="flex:7;max-width: 80%;">';
         html+= '<div class="pd-10">';
         html+= '<div class="pd-10">';
         html+= '<div class="title" style="padding-bottom:5px;font-size:100%;font-weight:600;">'+lesson["title"]+'</div>';
         html+= '<div class="title" style="padding-bottom:5px;font-size:100%;font-weight:600;">'+lesson["title"]+'</div>';
         let summary = "";
         let summary = "";