html - Allow Bootstrap inline code block to break? -
i'm working on blaze, app uses se api grab recent content. works great finding naas, there's 1 problem. when has put whole bunch of code or entire sentence in inline code block, happens:

when should (non-so site):

essentially, inline code blocks aren't breaking, , pushing td out right. html generated:
<tr>     <td style="vertical-align:top" class="col-md-1">         <div class="score">             <h2 style="color:rgba(0,0,0,0.6); pull:right">0</h2>         </div>     </td>     <td class="">         <div class="post col-md-9">             <h3><a href="http://stackoverflow.com/questions/22561506/how-can-i-insert-php-into-a-webpage-using-javascript/22561707#22561707">how can insert php webpage using javascript</a></h3>             <hr>             <span class="post-body" style="color:rgba(70,70,70,1)">                                     <p><code>is possible insert php code webpage using javascript after page has loaded?</code> simple answer no. page has been rendered, way change using javascript running within user's browser.</p>                 ...             </span>             <p style="color:grey; float:right">posted <a href="http://stackoverflow.com/users/2155068/mjrkusanagi">mjrkusanagi</a> <span>a minute ago</span></p>         </div>     </td> </tr>   this non-bootstrap css i'm using:
<style>   img    {       max-width:100%;   }   html, body    {       height: 100%;   }   #wrap    {       min-height: 100%;       height: auto;       margin: 0 auto -50px;       padding: 0 0 50px;   }   #footer    {       height: 50px;       background-color: clear;        border-top:1px dashed rgba(0,0,0,0.2);   }   .navbar .navbar-nav    {       display: inline-block;       float: none;   }   .navbar .navbar-collapse    {       text-align: center;   }   .flag-button:hover    {       background-color:red;        color: white   } </style>   does have idea how either (a) make td stronger inline code blocks, or (b) allow code blocks wrap?
bootstrap sets code whitespace no-wrap default. can override overriding value allows wrapping.
css
code {     white-space: normal;     }      
Comments
Post a Comment