Skip to content

Commit 6de4dcf

Browse files
committed
set margin for page + fit content for statistics
1 parent 7aa3c02 commit 6de4dcf

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

app/assets/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ body {
88
background-color: #222;
99
color: #ccc;
1010
font-family: "Nunito", sans-serif !important;
11+
margin: 1em;
1112
}
1213

1314
hr {

app/sections/CategoryStats.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function percentage(column: "all" | `cat_${string}`): number {
1515
</script>
1616

1717
<template>
18-
<section id="statistics">
18+
<section id="statistics" style="width: fit-content">
1919
<h3>Statistics</h3>
2020
<span
2121
>People were online <b>{{ percentage("all") }}%</b> of this time

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "statustracker3",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"private": true,
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)