css fix on motd
This commit is contained in:
parent
fc064efb61
commit
dab6eefbdd
2 changed files with 6 additions and 2 deletions
|
@ -120,7 +120,7 @@ env!("CARGO_PKG_VERSION"));
|
|||
<strong>Players:</strong> <code>{}/{}</code><br/>
|
||||
<strong>MOTD:</strong>
|
||||
</p>
|
||||
<pre><code id=\"motd\">{}</code></pre>",
|
||||
<pre id=\"motd\"><code>{}</code></pre>",
|
||||
sanitize_html(minecraft_status.version).to_string(),
|
||||
minecraft_status.players,
|
||||
minecraft_status.max_players,
|
||||
|
|
|
@ -47,7 +47,11 @@ pre code {
|
|||
background-color: #303030;
|
||||
}
|
||||
|
||||
pre code#motd {
|
||||
pre#motd {
|
||||
margin-top: -1em
|
||||
}
|
||||
|
||||
pre#motd code {
|
||||
display: block;
|
||||
width: fit-content;
|
||||
min-width: 440px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue