Skip to content

Commit

Permalink
Update css
Browse files Browse the repository at this point in the history
  • Loading branch information
sadmanca authored May 4, 2024
1 parent 3159d27 commit 2aaeab8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ img.dir {

.blob-view .content {
overflow: auto;
overflow-x: auto;
overflow-x: clip;
}

.blob-view .content pre {
Expand Down Expand Up @@ -58,7 +58,7 @@ img.dir {
}

ul.tree {
max-height: 40vh;
/* max-height: 40vh; */
overflow: auto;
min-width: 200px;
max-width: 1000px;
Expand All @@ -77,7 +77,7 @@ body:has(#preview-div[hidden]) ul.tree {
}

body:has(ul.tree[hidden]) .blob-view .content {
height: 70vh !important;
/* height: 70vh !important; */
}

div.footer {
Expand Down
2 changes: 1 addition & 1 deletion css/prism.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ article.readme,
padding: 2em;
}
.markdown h1 {
font-weight: 600;
font-size: 2em;
line-height: 1.25;
margin: .67em 0;
Expand All @@ -222,6 +223,7 @@ article.readme,
margin-block-end: -0.2em;
}
.markdown h2 {
font-weight: 600;
font-size: 1.5rem;
line-height: 1.25;
margin-top: 24px;
Expand All @@ -232,6 +234,7 @@ article.readme,
margin-block-end: -0.2em;
}
.markdown h3 {
font-weight: 600;
font-size: 1.25rem;
line-height: 1.25;
margin-top: 24px;
Expand Down
4 changes: 2 additions & 2 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ async function gotoPath(path, boolUpdateHistory = true, disableAels = true) {
if (path) {
pathSplit.slice(0, -1).forEach((i) => {
var slash = document.createElement("span");
slash.innerHTML = " / ";
slash.innerHTML = "/";
locationDiv.appendChild(slash);
var a = document.createElement("a");
a.style.cursor = "pointer";
Expand All @@ -330,7 +330,7 @@ async function gotoPath(path, boolUpdateHistory = true, disableAels = true) {
locationDiv.appendChild(a);
});
var slash = document.createElement("span");
slash.innerHTML = " / ";
slash.innerHTML = "/";
locationDiv.appendChild(slash);
var span = document.createElement("span");
span.innerHTML = pathSplit.at(-1);
Expand Down

0 comments on commit 2aaeab8

Please sign in to comment.