fix show link for direct execution

This commit is contained in:
dcore94 2024-02-02 19:06:01 +01:00
parent c8b31cecc7
commit 3f02f0a1a1
1 changed files with 3 additions and 3 deletions

View File

@ -120,8 +120,8 @@ class CCPExecutionHistory extends HTMLElement {
<li></li>
</ul>
<div class="d-flex flex-column align-items-end" style="gap: 3px;">
<div class="d-flex align-items-middle" style="gap:5px">
<label>Generate code for:</label>
<div class="d-flex align-items-center" style="gap:5px">
<label style="text-rap:nowrap">Generate code for:</label>
<select name="language-selector" class="form-control">
<option value="text/python" data-ext="py" title="Generate plain Python3">Python 3</option>
<option value="text/plain+r" data-ext="r" title="Generate plain R">R</option>
@ -135,7 +135,7 @@ class CCPExecutionHistory extends HTMLElement {
</button>
</div>
<div class="d-flex align-items-middle" style="gap:5px">
<label>Direct link</label>
<label style="text-wrap:nowrap">Direct link</label>
<div class="d-flex">
<a name="direct_link_execution" href="${window.location.href}">${window.location.href}</a>
</div>