Commit 822bf13b by Torkel Ödegaard

Merge pull request #4728 from grafana/code-style-improvements

Code style improvements
parents 6b2fedb1 151d8db9
...@@ -16,6 +16,6 @@ ...@@ -16,6 +16,6 @@
<pre><code>grafana-cli plugins update {{plugin.id}}</code></pre> <pre><code>grafana-cli plugins update {{plugin.id}}</code></pre>
<span class="small">Check out {{plugin.name}} on <a href="http://grafana/net/plugins/{{plugin.id}}">Grafana.net</a> for README and changelog. If you do not have access to the command line, ask your Grafana administator.</span> <span class="small">Check out {{plugin.name}} on <a href="http://grafana/net/plugins/{{plugin.id}}">Grafana.net</a> for README and changelog. If you do not have access to the command line, ask your Grafana administator.</span>
</div> </div>
<p class="pluginlist-none-installed code--line"><img class="pluginlist-inline-logo" src="public/img/grafana_icon.svg"><strong>Pro tip</strong>: To update all plugins at once, type <code class="code--small">grafana-cli plugins update-all</code> on the command line.</div> <p class="pluginlist-none-installed"><img class="pluginlist-inline-logo" src="public/img/grafana_icon.svg"><strong>Pro tip</strong>: To update all plugins at once, type <code class="code--small">grafana-cli plugins update-all</code> on the command line.</div>
</div> </div>
</div> </div>
...@@ -21,6 +21,8 @@ code { ...@@ -21,6 +21,8 @@ code {
background-color: $code-tag-bg; background-color: $code-tag-bg;
border: 1px solid darken($code-tag-bg, 15%); border: 1px solid darken($code-tag-bg, 15%);
white-space: nowrap; white-space: nowrap;
padding: 2px 5px;
margin: 0 2px;
} }
code.code--small { code.code--small {
...@@ -29,10 +31,6 @@ code.code--small { ...@@ -29,10 +31,6 @@ code.code--small {
margin: 0 2px; margin: 0 2px;
} }
p.code--line {
line-height: 1.8;
}
// Blocks of code // Blocks of code
pre { pre {
display: block; display: block;
......
...@@ -3,4 +3,5 @@ ...@@ -3,4 +3,5 @@
ul { ul {
margin: 0 0 $spacer $spacer * 1.5; margin: 0 0 $spacer $spacer * 1.5;
} }
li {line-height: 2;}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment