Fix for pre/table overflow, title h1->div
This commit is contained in:
parent
b4d710334e
commit
6a0eda16d6
@ -33,7 +33,7 @@ body {
|
|||||||
|
|
||||||
main {
|
main {
|
||||||
max-width: 50rem;
|
max-width: 50rem;
|
||||||
width: fit-content;
|
width: 100vw;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -43,3 +43,15 @@ a {
|
|||||||
a:hover {
|
a:hover {
|
||||||
color: var(--link-hl);
|
color: var(--link-hl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
@ -5,17 +5,15 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="robots" content="noindex, nofollow">
|
<meta name="robots" content="noindex, nofollow">
|
||||||
<title>
|
<title><%= parsed.title %></title>
|
||||||
<%= parsed.title %>
|
|
||||||
</title>
|
|
||||||
<link rel="stylesheet" href="/static/common.css">
|
<link rel="stylesheet" href="/static/common.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<h1>
|
<div class="title">
|
||||||
<%= parsed.title %>
|
<%= parsed.title %>
|
||||||
</h1>
|
</div>
|
||||||
<%- parsed.content %>
|
<%- parsed.content %>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -14,9 +14,7 @@
|
|||||||
<main>
|
<main>
|
||||||
<header>
|
<header>
|
||||||
<h1>txt.</h1>
|
<h1>txt.</h1>
|
||||||
<p>
|
<p><%= desc %></p>
|
||||||
<%= desc %>
|
|
||||||
</p>
|
|
||||||
</header>
|
</header>
|
||||||
<form action="/get" method="get" class="input-grid">
|
<form action="/get" method="get" class="input-grid">
|
||||||
<div class="input">
|
<div class="input">
|
||||||
@ -51,4 +49,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user