Skip to content

Commit

Permalink
Overflow content only
Browse files Browse the repository at this point in the history
  • Loading branch information
matze committed Jan 16, 2025
1 parent e24b896 commit f470817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
11 changes: 1 addition & 10 deletions src/themes/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

header {
border-bottom: 1px solid #163855;
border-right: 1px solid #163855;
}
}

Expand All @@ -29,7 +28,6 @@

header {
border-bottom: 1px solid #d9d7d7;
border-right: 1px solid #d9d7d7;
}

h1 {
Expand Down Expand Up @@ -66,15 +64,13 @@ svg {
display: flex;
flex-direction: column;
height: 100%;
overflow: auto;
}

main {
flex-grow: 1;
padding: 1em 2em 1em 2em;
user-select: none;

overflow: visible;
overflow: auto;
min-height: 0;
}

Expand Down Expand Up @@ -254,11 +250,6 @@ a, a:visited, a:hover {
width: 100%;
}

#code {
overflow: visible;
min-width: fit-content;
}

td.line-number {
user-select: none;
}
Expand Down
4 changes: 1 addition & 3 deletions templates/formatted.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,5 @@
</table>
</div>
</div>
<div id="code">
{{ html|safe }}
</div>
{{ html|safe }}
{% endblock %}

1 comment on commit f470817

@matze
Copy link
Owner Author

@matze matze commented on f470817 Jan 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@FliegendeWurst you were right in the first place, sorry 🙈

Please sign in to comment.