Improve file viewer style consistnecy

This commit is contained in:
2023-01-17 19:03:14 +01:00
parent ade760225a
commit ad026481a2
11 changed files with 81 additions and 51 deletions

View File

@@ -1,9 +1,9 @@
<script>
export let width = "800px"
export let width = "750px"
export let center = false
</script>
<div class="block" class:center style="max-width: {width};">
<div class="block" class:center style="width: {width};">
<slot></slot>
</div>
@@ -13,6 +13,7 @@ export let center = false
text-align: initial;
padding-left: 8px;
vertical-align: middle;
max-width: 100%;
background-color: var(--shaded_background);
border-radius: 8px;