start back button, other random fixes

This commit is contained in:
2024-01-19 02:08:52 +01:00
parent 4ee4b697cb
commit 76fda12604
9 changed files with 57 additions and 19 deletions

View File

@@ -3,6 +3,7 @@
import { shorthandCode, formatTrackTime, formatDate } from '$lib/utils.js';
import { jumpToTrack } from './Player.svelte';
import { Carta } from 'carta-md';
import { goto } from '$app/navigation';
import DOMPurify from 'isomorphic-dompurify';
const carta = new Carta({
@@ -17,6 +18,7 @@
</svelte:head>
<div class="stream-information">
<!-- <div class="back-button material-icons" on:click={() => goto('/streams/')}>keyboard_return</div> -->
<div class="stream-information-flexbox">
<h3 class="stream-id">ID: {shorthandCode($currentStream.id)}</h3>
<h1 class="stream-date">{formattedStreamDate}</h1>
@@ -179,6 +181,17 @@
border: 0;
}
.back-button {
opacity: 0.75;
border: 1px solid white;
transform: rotateX(180deg);
}
.back-button:hover {
opacity: 1;
border: 1px solid white;
}
@media (max-width: 575px) {
.material-icons {
opacity: 0.5;