Some small fixes

This commit is contained in:
Pixeldrain-Server committed 2022-02-08 21:05:08 +01:00
1 parent d232162046
commit dc680f7efd
6 files changed
+24 -8

No files matched your search

+1
View File
@@ -722,6 +722,7 @@ const keyboard_event = evt => {
.file_preview_container.custom_background {
background-size: cover;
background-position: center;
background-color: var(--layer_1_color);
}
/* Toolbars */
+1 -1
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.
@@ -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>