Skip to content

Commit

Permalink
Improve layout
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Feb 2, 2024
1 parent eabf11c commit 400c3e0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
21 changes: 17 additions & 4 deletions app/assets/stylesheets/components/scratchpad.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,6 @@
line-height: 26px;
}

.papyros-test-code-buttons {
top: -12px;
}

.papyros-test-code,
.papyros-test-code.cm-active-line,
.papyros-test-code-widget {
Expand All @@ -207,3 +203,20 @@
.papyros-test-code-widget {
color: var(--d-on-surface-muted);
}

.papyros-icon-link {
color: var(--d-primary);

.mdi::before {
font-size: 16px;
line-height: 16px;
}

&:hover {
color: rgba(var(--d-primary-rgb), 0.8);
}
}

.papyros-state-card.cm-panels {
top: -29px;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@codemirror/language-data": "^6.4.0",
"@codemirror/state": "^6.3.3",
"@codemirror/view": "^6.23.1",
"@dodona/papyros": "2.2.0-beta.1",
"@dodona/papyros": "2.2.0-beta.3",
"@dodona/pyodide-trace-library": "^2.0.7",
"@lezer/common": "^1.2.1",
"@lezer/highlight": "^1.2.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1327,10 +1327,10 @@
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==

"@dodona/[email protected].1":
version "2.2.0-beta.1"
resolved "https://registry.yarnpkg.com/@dodona/papyros/-/papyros-2.2.0-beta.1.tgz#911c1178ccfaf22727bd35405d7b6223af91498a"
integrity sha512-gxprerAp9OPUid6MFSe9z4aKYZC1IjxeB81MsLQST3BJd4qnCqd2olZTfFa9kj9QAofRXrZy+2h6hWhgbvsJuQ==
"@dodona/[email protected].3":
version "2.2.0-beta.3"
resolved "https://registry.yarnpkg.com/@dodona/papyros/-/papyros-2.2.0-beta.3.tgz#0ba03cd1884fb026556cfa574051e23ca8d2c62f"
integrity sha512-jSnBmZBpaMPDUOOhnH64o+R4hP4SFTHuU2fYyNH1gzDWKYYkPyJ7eBQfhQL+GgC1iLDbQcJUJaa+xaRvjvaG0Q==
dependencies:
"@codemirror/autocomplete" "^6.11.1"
"@codemirror/commands" "^6.3.1"
Expand Down

0 comments on commit 400c3e0

Please sign in to comment.