Skip to content

Commit f47a2e9

Browse files
committed
Fix CSS issue
1 parent 30726c8 commit f47a2e9

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

docs/link.rst

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@ Use the following form to create your own ``nbgitpuller`` links.
3737
</li>
3838
</ul>
3939

40-
<div class="tab-content">
40+
<div class="tab-content" style="margin:10px;">
4141
<div class="tab-pane fade show active" id="auth-default" role="tabpanel" aria-labelledby="tab-auth-default" tabindex="0">
4242
<div class="input-group">
43-
<input type="text" readonly class="form-control" id="default-link" name="auth-default-link" placeholder="Generated link appears here...">
43+
<input type="text" readonly class="form-control col-sm-2 col-form-label" id="default-link" name="auth-default-link" placeholder="Generated link appears here...">
4444
<button class="btn btn-outline-secondary" type="button" onclick="copyLink('default-link')">Copy</button>
4545
</div>
4646
</div>
4747
<div class="tab-pane fade" id="auth-canvas" role="tabpanel" aria-labelledby="tab-auth-canvas" tabindex="0">
4848
<div class="input-group">
49-
<input type="text" readonly class="form-control" id="canvas-link" name="auth-canvas-link" placeholder="Generated canvas 'external app' link appears here...">
49+
<input type="text" readonly class="form-control col-sm-2 col-form-label" id="canvas-link" name="auth-canvas-link" placeholder="Generated canvas 'external app' link appears here...">
5050
<button class="btn btn-outline-secondary" type="button" onclick="copyLink('canvas-link')">Copy</button>
5151
</div>
5252
</div>
5353
<div class="tab-pane fade" id="auth-binder" role="tabpanel" aria-labelledby="tab-auth-binder" tabindex="0">
5454
<div class="input-group">
55-
<input type="text" readonly class="form-control" id="binder-link" name="auth-binder-link" placeholder="Generated Binder link appears here...">
55+
<input type="text" readonly class="form-control col-sm-2 col-form-label" id="binder-link" name="auth-binder-link" placeholder="Generated Binder link appears here...">
5656
<button class="btn btn-outline-secondary" type="button" onclick="copyLink('binder-link')">Copy</button>
5757
</div>
5858
</div>
@@ -199,20 +199,6 @@ Use the following form to create your own ``nbgitpuller`` links.
199199
// load link javascript on page load
200200
window.addEventListener("load", linkMain);
201201
</script>
202-
<style>
203-
.input-group {
204-
display: flex;
205-
align-items: center;
206-
margin: 10px;
207-
}
208-
.input-group input {
209-
flex: 1;
210-
margin-right: 5px;
211-
}
212-
.input-group button {
213-
flex-shrink: 0;
214-
}
215-
</style>
216202

217203

218204
**Pre-populating some fields in the link generator**

0 commit comments

Comments
 (0)