more margin tweaks

This commit is contained in:
Johannes 2023-05-26 12:15:16 +02:00
parent ace5565fd8
commit dd1ec9312e
No known key found for this signature in database
GPG key ID: 6DEF802A22264FCA
2 changed files with 6 additions and 1 deletions

View file

@ -90,12 +90,16 @@
/* status */
.monaco-editor .interactive-editor .status {
margin-top: 4px;
margin-top: 3px;
display: flex;
justify-content: space-between;
align-items: center;
}
.monaco-editor .interactive-editor .status.actions {
margin-top: 6px;
}
.monaco-editor .interactive-editor .status .actions.hidden {
display: none;
}

View file

@ -423,6 +423,7 @@ export class InteractiveEditorWidget {
updateToolbar(show: boolean) {
this._elements.statusToolbar.classList.toggle('hidden', !show);
this._elements.feedbackToolbar.classList.toggle('hidden', !show);
this._elements.status.classList.toggle('actions', show);
this._onDidChangeHeight.fire();
}