Fix alignment of "No action" editor button

This commit is contained in:
Sebastian Serth
2023-04-25 20:25:10 +02:00
parent d77a5bc45d
commit 20588e4910

View File

@ -671,7 +671,7 @@ var CodeOceanEditor = {
$('#start-over-active-file').prop('disabled', this.active_frame.data('role') === 'user_defined_file' || this.active_frame.data('read-only') !== undefined);
$('#dummy').toggle(!this.fileActionsAvailable());
$('#render').toggle(this.isActiveFileRenderable());
$('#run-stop-button-group').tooltip('hide');
$('#run-stop-button-group').tooltip('hide').toggleClass('flex-grow-1', this.isActiveFileRunnable() || this.isActiveFileStoppable());
$('#run').toggle(this.isActiveFileRunnable() && !this.running);
$('#stop').toggle(this.isActiveFileStoppable());
$('#test').toggle(this.isActiveFileTestable());