Skip to content

Commit

Permalink
Put the views selector at the top of the interface
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienTainon committed Aug 14, 2023
1 parent 8ea07e2 commit 577e9e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions frontend/task/platform/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export function getTaskMetadata() {
const metadata = window.json ?? window.PEMTaskMetaData ?? {
fullFeedback: true,
minWidth: "auto",
// showViews: true,
};
metadata.autoHeight = true;
metadata.disablePlatformProgress = true;
Expand Down
13 changes: 7 additions & 6 deletions frontend/task/task.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,18 @@ html:not([active-view="task"]) {
height: 100%;
min-height: 0;
}
#choose-view {
margin-top: 0 !important;
> * {
margin: 3px 0;
}
}
body {
overflow: hidden;
}
}

#choose-view {
margin-top: 0 !important;
> * {
margin: 3px 0;
}
}

// Hide Quickalgo instructions
#task {
display: none;
Expand Down

0 comments on commit 577e9e2

Please sign in to comment.