Fix for pre/table overflow, title h1->div

This commit is contained in:
DarkCat09 2023-08-15 19:13:09 +04:00
parent b4d710334e
commit 6a0eda16d6
No known key found for this signature in database
GPG Key ID: 4785B6FB1C50A540
3 changed files with 19 additions and 11 deletions

View File

@ -33,7 +33,7 @@ body {
main {
max-width: 50rem;
width: fit-content;
width: 100vw;
margin: auto;
}
@ -43,3 +43,15 @@ a {
a:hover {
color: var(--link-hl);
}
pre {
display: block;
max-width: 100%;
overflow-x: auto;
}
table {
display: block;
max-width: 100%;
overflow-x: auto;
}

View File

@ -5,16 +5,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="robots" content="noindex, nofollow">
<title>
<%= parsed.title %>
</title>
<title><%= parsed.title %></title>
<link rel="stylesheet" href="/static/common.css">
</head>
<body>
<main>
<h1>
<div class="title">
<%= parsed.title %>
</h1>
</div>
<%- parsed.content %>
</main>
</body>

View File

@ -14,9 +14,7 @@
<main>
<header>
<h1>txt.</h1>
<p>
<%= desc %>
</p>
<p><%= desc %></p>
</header>
<form action="/get" method="get" class="input-grid">
<div class="input">