feat(style): mobile tweaks
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

Signed-off-by: Nikurasu <publicmail@nikurasu.gay>
This commit is contained in:
Nikurasu 2024-06-29 18:36:38 +02:00
parent dc9a1b60f1
commit 615691e3c5
Signed by: Nikurasu
GPG key ID: 9E7F14C03EF1F271
2 changed files with 11 additions and 0 deletions

View file

@ -42,3 +42,12 @@ tbody>tr:nth-child(odd) {
.tdred { .tdred {
background-color: #ff6e6e; background-color: #ff6e6e;
} }
.tableWrapper {
overflow-x: auto;
transform: rotate(180deg);
}
.tableWrapper table {
transform: rotate(180deg);
}

View file

@ -9,6 +9,7 @@
<body> <body>
<main> <main>
<h1 class="textWhite">{{.Title}}</h1> <h1 class="textWhite">{{.Title}}</h1>
<div class="tablewrapper">
{{ if eq .EventType "Suitwalk" }} {{ if eq .EventType "Suitwalk" }}
{{template "suitwalk" .}} {{template "suitwalk" .}}
{{ else if eq .EventType "RegularsTable" }} {{ else if eq .EventType "RegularsTable" }}
@ -18,6 +19,7 @@
{{ else if eq .EventType "SpecialEvent" }} {{ else if eq .EventType "SpecialEvent" }}
{{ template "specialEvent" . }} {{ template "specialEvent" . }}
{{ end }} {{ end }}
</div>
</main> </main>
</body> </body>
</html> </html>