fix: larger view, no break in timelines

This commit is contained in:
əlemi 2024-12-01 04:23:59 +01:00
parent 71c48b5549
commit 7ae7c1b5c6
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -40,10 +40,13 @@
hr.separator { hr.separator {
margin: 2em; margin: 2em;
} }
span.nobr {
white-space: nowrap;
margin-right: 1em;
}
</style> </style>
</head> </head>
<body> <body>
<div class="container">
<h1>uppe.rs</h1> <h1>uppe.rs</h1>
<p>keeping track of your infra's up status</p> <p>keeping track of your infra's up status</p>
<hr class="color"/> <hr class="color"/>
@ -51,7 +54,6 @@
<main id="uppe-rs-content"> <main id="uppe-rs-content">
</main> </main>
</div>
</body> </body>
<script> <script>
function cell(timestamp, rtt) { function cell(timestamp, rtt) {
@ -71,7 +73,7 @@ function card(key, history) {
return `<div class="card"> return `<div class="card">
<h3>${key}</h3> <h3>${key}</h3>
<div class="box"> <div class="box">
${bar} <span class="nobr">${bar}</span>
</div> </div>
</div> </div>
<hr class="separator"/>`; <hr class="separator"/>`;