Some small fixes

This commit is contained in:
2022-02-08 21:05:08 +01:00
parent d232162046
commit dc680f7efd
6 changed files with 24 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ let file = {
</script>
<br/>
<TextBlock>
<TextBlock center={true}>
<h1>Unavailable for legal reasons</h1>
<p>
This file has received an abuse report and was taken down.

View File

@@ -1,8 +1,9 @@
<script>
export let width = "800px"
export let center = false
</script>
<div class="block" style="max-width: {width};">
<div class="block" class:center style="max-width: {width};">
<slot></slot>
</div>
@@ -17,4 +18,7 @@ export let width = "800px"
border-radius: 16px;
padding: 8px;
}
.center {
text-align: center;
}
</style>