mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Put the import + src on same line for brevity
This commit is contained in:
@@ -5,17 +5,19 @@
|
||||
</div>
|
||||
|
||||
<a class="name selflink" href="{{link}}">{{{name}}}</a>
|
||||
{{#if importName}}
|
||||
<code class="subtext">import { {{importName}} } from 'meteor/{{module}}'</code>
|
||||
{{/if}}
|
||||
|
||||
{{#if fullApi}}
|
||||
{{#if filepath}}
|
||||
<a class="subtext src-code" href="https://github.com/meteor/meteor/blob/master/packages/{{filepath}}#L{{lineno}}" target="_blank">
|
||||
{{filepath}}, line {{lineno}}
|
||||
</a>
|
||||
<div class="subtext">
|
||||
{{#if importName}}
|
||||
<code>import { {{importName}} } from 'meteor/{{module}}'</code>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if fullApi}}
|
||||
{{#if filepath}}
|
||||
<a class="src-code" href="https://github.com/meteor/meteor/blob/master/packages/{{filepath}}#L{{lineno}}" target="_blank">
|
||||
({{filepath}}, line {{lineno}})
|
||||
</a>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</h3>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -325,6 +325,11 @@ ol {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.api-title .subtext > code {
|
||||
font-size: 11px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.api-title .src-code {
|
||||
color: #20338A !important;
|
||||
border-bottom: none !important;
|
||||
|
||||
Reference in New Issue
Block a user