Skip to content

Commit 01f480a

Browse files
committed
Fix the CSS issue
1 parent ece3cb2 commit 01f480a

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

docs/angular-meteor/client/content/api-reference/sidebarAPI.html

+10-8
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h2>{{title}}</h2>
4545
</template>
4646

4747
<template name="apiSelector">
48-
<h2><a href="/{{tutorialLink}}">API Reference</a></h2>
48+
<h2>API Reference</h2>
4949
{{#each angularVersions}}
5050
{{#angularVersionLink}}
5151
<h4>{{title}}</h4>
@@ -55,13 +55,15 @@ <h4>{{title}}</h4>
5555

5656
<template name="sidebarDefaultAPI">
5757
<div class="col-md-3 left-menu">
58-
{{> apiSelector }} <br />
59-
API Version:
60-
<select id="api-selector">
61-
{{#each apis}}
62-
<option value="{{this}}" selected="{{currentApi this}}">{{this}}</option>
63-
{{/each}}
64-
</select>
58+
{{> apiSelector }} <br/>
59+
<div class="version-selector">
60+
API Version:
61+
<select id="api-selector">
62+
{{#each apis}}
63+
<option value="{{this}}" selected="{{currentApi this}}">{{this}}</option>
64+
{{/each}}
65+
</select>
66+
</div>
6567
<ul class="nav">
6668
{{#each pages}}
6769
<li id='{{id}}'>

docs/angular-meteor/client/stylesheets/content/api_tutorial/left_menu.import.less

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
background-color: @background-color;
99
font-size: 1rem;
1010

11+
.version-selector {
12+
padding: 10px 3em;
13+
margin-top: 10px;
14+
font-weight: bold;
15+
}
16+
1117
h2 {
1218
margin-left: 1rem;
1319
}

0 commit comments

Comments
 (0)