Skip to content

Commit

Permalink
feat(client): make Ace editor sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Nov 11, 2023
1 parent 73bb45c commit 2d253b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion judgels-client/src/components/AppContent/AppContent.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
.app-content {
overflow-x: auto;
padding-left: 10px;
padding-right: 10px;
padding-top: 35px;
}

.app-content:not(:has(.ace_editor)) {
overflow-x: auto;
}

@media only screen and (max-width: 1024px) {
.app-content {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.chapter-problem-statement-routes {
position: sticky;
top: 15px;
align-self: flex-start;
flex: 1;
}

0 comments on commit 2d253b7

Please sign in to comment.