Skip to content

Editor style tweaks #7805

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions app/css/bootcamp/components/codemirror.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
}
.cm-lineNumbers {
.cm-gutterElement {
@apply pl-2 pr-8;
@apply pr-8 pl-12;
}
}

Expand Down Expand Up @@ -154,7 +154,6 @@
}

.cm-lineNumbers {
/* width: 2em; */
text-align: right;
}

Expand Down
2 changes: 2 additions & 0 deletions app/css/bootcamp/components/frontend-training-page.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#bootcamp-frontend-training-page {
.page-body-rhs {
@apply bg-white;
@apply flex-grow;

@apply flex flex-col;
@apply overflow-hidden;
& > button {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,15 @@ export function ControlButtons({
submitCode,
])

const {
panelSizes: { LHSWidth },
} = useCSSExercisePageStore()

return (
<div className="flex py-8 justify-between">
<div
style={{ width: LHSWidth }}
className="flex py-8 gap-8 justify-between"
>
<button onClick={handleSubmitCode} className="btn-primary btn-s">
Check Result
</button>
Expand Down
Loading