Skip to content

Commit

Permalink
[Fix] Design issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienTainon committed Aug 18, 2023
1 parent 354e677 commit e4b10c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions frontend/buffers/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,14 @@ export function Editor(props: EditorProps) {
editor.current.execCommand("startAutocomplete");
// @ts-ignore
completer = editor.current.completer;
completer.detach();
completer?.detach();
}
if (completer && completer.popup) {
completer.popup.container.style.width = "22%";
}

// removal of return for autocomplete
if (completer.keyboardHandler.commandKeyBinding.return)
if (completer && completer.keyboardHandler.commandKeyBinding.return)
delete completer.keyboardHandler.commandKeyBinding.return;
}

Expand Down
10 changes: 1 addition & 9 deletions frontend/task/task_tests.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
align-items: center;
color: #7c7c7c;
font-weight: bold;
line-height: 36px;

&.is-selectable {
cursor: pointer;
Expand Down Expand Up @@ -121,15 +122,6 @@
}
}

@media /* Tablets and desktop */
screen and (min-width: 768px) and (max-width: 1024.9px) and (orientation: portrait),
screen and (min-width: 855px) and (min-height: 450px) and (orientation: landscape),
screen and (min-width: 1025px) and (min-height: 450px) {
.tests-selector .tests-selector-tab {
line-height: 36px;
}
}

.test-results-overview {
display: flex;
font-weight: bold;
Expand Down

0 comments on commit e4b10c7

Please sign in to comment.