Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Actually, the problem isn't the img tag being affected, but the span* containers. When Bootstrap Responsive gets to a certain point, it turns off floating, and sets width to 100%. When that container pops back to 100%, the child within (your img tag) does exactly what you told it to do, which is expand to max-width of 100%.</p> <p>Look at this from responsive.css... above the declaration in the stylesheet, you'll see this:</p> <pre><code>/* Landscape phone to portrait tablet */ @media (max-width: 767px) { [class*="span"], .uneditable-input[class*="span"], .row-fluid [class*="span"] { -moz-box-sizing: border-box; display: block; float: none; margin-left: 0; width: 100%; } </code></pre> <p>That is what is causing the img to "resize" ... its container no longer shrinks past a certain point, due to the way Bootstrap's responsive styles are set up.</p> <p>To block this, you could either modify the Bootstrap stylesheet (in which case you will have to redo the change anytime you want to update your Bootstrap files), or you can, in your own stylesheet, do something like the following:</p> <pre><code>/* Landscape phone to portrait tablet */ @media (max-width: 767px) { [class*="span"], .uneditable-input[class*="span"], .row-fluid [class*="span"] { -moz-box-sizing: border-box; display: inline-block; float: left; } </code></pre> <p>That will put the floating back, however, you're still left with width as an issue, as the default Bootstrap style at that screen-width is trying to set width to 100%. You could try setting <code>width:auto</code> and then hopefully the widths for each specific span-step (.span1, .span2, etc.) will be allowed to take over, but you'll really have to test it out to see what is going to work best for your situation.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload