mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
fix form styles on prepend/append for consistency, update code docs with examples of the code snippets
This commit is contained in:
parent
9fa8bde44d
commit
278858e706
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
@ -894,7 +894,7 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
|
||||
min-width: 16px;
|
||||
height: 18px;
|
||||
margin-right: -1px;
|
||||
padding: 4px 4px 4px 5px;
|
||||
padding: 4px 5px;
|
||||
font-weight: normal;
|
||||
line-height: 18px;
|
||||
color: #999999;
|
||||
|
@ -372,6 +372,9 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
<div class="span4">
|
||||
<h2>Basic block</h2>
|
||||
<p>Use <code><pre></code> for multiple lines of code. Be sure to turn any carets into their unicode characters for proper rendering.</p>
|
||||
<pre>
|
||||
<p>Sample text here...</p>
|
||||
</pre>
|
||||
<pre class="prettyprint linenums" style="margin-bottom: 9px;">
|
||||
<pre>
|
||||
&lt;p&gt;Sample text here...&lt;/p&gt;
|
||||
@ -383,6 +386,9 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
<h2>Google Prettify</h2>
|
||||
<p>Take the same <code><pre></code> element and add two optional classes for enhanced rendering.</p>
|
||||
<pre class="prettyprint linenums" style="margin-bottom: 9px;">
|
||||
<p>Sample text here...</p>
|
||||
</pre>
|
||||
<pre class="prettyprint linenums" style="margin-bottom: 9px;">
|
||||
<pre class="prettyprint
|
||||
linenums">
|
||||
&lt;p&gt;Sample text here...&lt;/p&gt;
|
||||
|
6
docs/templates/pages/base-css.mustache
vendored
6
docs/templates/pages/base-css.mustache
vendored
@ -300,6 +300,9 @@
|
||||
<div class="span4">
|
||||
<h2>Basic block</h2>
|
||||
<p>{{_i}}Use <code><pre></code> for multiple lines of code. Be sure to turn any carets into their unicode characters for proper rendering.{{/i}}</p>
|
||||
<pre>
|
||||
<p>{{_i}}Sample text here...{{/i}}</p>
|
||||
</pre>
|
||||
<pre class="prettyprint linenums" style="margin-bottom: 9px;">
|
||||
<pre>
|
||||
&lt;p&gt;{{_i}}Sample text here...{{/i}}&lt;/p&gt;
|
||||
@ -311,6 +314,9 @@
|
||||
<h2>Google Prettify</h2>
|
||||
<p>Take the same <code><pre></code> element and add two optional classes for enhanced rendering.</p>
|
||||
<pre class="prettyprint linenums" style="margin-bottom: 9px;">
|
||||
<p>{{_i}}Sample text here...{{/i}}</p>
|
||||
</pre>
|
||||
<pre class="prettyprint linenums" style="margin-bottom: 9px;">
|
||||
<pre class="prettyprint
|
||||
linenums">
|
||||
&lt;p&gt;{{_i}}Sample text here...{{/i}}&lt;/p&gt;
|
||||
|
@ -417,7 +417,7 @@ select:focus:required:invalid {
|
||||
min-width: 16px;
|
||||
height: @baseLineHeight;
|
||||
margin-right: -1px;
|
||||
padding: 4px 4px 4px 5px;
|
||||
padding: 4px 5px;
|
||||
font-weight: normal;
|
||||
line-height: @baseLineHeight;
|
||||
color: @grayLight;
|
||||
|
Loading…
Reference in New Issue
Block a user