Skip to content

Commit

Permalink
fix: fix file content with less than and greater than signs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesx00 committed Dec 29, 2024
1 parent 4f9887b commit 5c831d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
20 changes: 4 additions & 16 deletions public/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -2084,10 +2084,6 @@ h4 {
font-weight: 600;
}

.font-thin {
font-weight: 100;
}

.uppercase {
text-transform: uppercase;
}
Expand All @@ -2100,14 +2096,6 @@ h4 {
line-height: 1.5rem;
}

.leading-tight {
line-height: 1.25;
}

.leading-snug {
line-height: 1.375;
}

.leading-none {
line-height: 1;
}
Expand Down Expand Up @@ -2221,14 +2209,14 @@ h4 {
color: rgb(30 41 59 / var(--tw-text-opacity));
}

.text-white {
.text-slate-900 {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
color: rgb(15 23 42 / var(--tw-text-opacity));
}

.text-slate-900 {
.text-white {
--tw-text-opacity: 1;
color: rgb(15 23 42 / var(--tw-text-opacity));
color: rgb(255 255 255 / var(--tw-text-opacity));
}

.underline {
Expand Down
2 changes: 1 addition & 1 deletion public/js/lesson.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ require(["vs/editor/editor.main"], function () {
const parsedFileGroups = beforeParsedFileGroups.map((fileGroup) => {
fileGroup.files = fileGroup.files.map((file) => {
const fileId = `${fileGroup.id}-${file.id}`;
file.content = document.getElementById(`file-${fileId}`).innerHTML;
file.content = document.getElementById(`file-${fileId}`).innerText;
return file;
});
return fileGroup;
Expand Down

0 comments on commit 5c831d0

Please sign in to comment.