mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #4728 from grafana/code-style-improvements
Code style improvements
This commit is contained in:
commit
822bf13b7a
@ -16,6 +16,6 @@
|
||||
<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>
|
||||
</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>
|
||||
|
@ -21,6 +21,8 @@ code {
|
||||
background-color: $code-tag-bg;
|
||||
border: 1px solid darken($code-tag-bg, 15%);
|
||||
white-space: nowrap;
|
||||
padding: 2px 5px;
|
||||
margin: 0 2px;
|
||||
}
|
||||
|
||||
code.code--small {
|
||||
@ -29,10 +31,6 @@ code.code--small {
|
||||
margin: 0 2px;
|
||||
}
|
||||
|
||||
p.code--line {
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
// Blocks of code
|
||||
pre {
|
||||
display: block;
|
||||
|
@ -3,4 +3,5 @@
|
||||
ul {
|
||||
margin: 0 0 $spacer $spacer * 1.5;
|
||||
}
|
||||
li {line-height: 2;}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user