Some small fixes
This commit is contained in:
@@ -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.
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user