Add free transfer limit to filesystem
This commit is contained in:
25
svelte/src/layout/TextBlock.svelte
Normal file
25
svelte/src/layout/TextBlock.svelte
Normal file
@@ -0,0 +1,25 @@
|
||||
<script>
|
||||
export let width = "750px"
|
||||
export let center = false
|
||||
</script>
|
||||
|
||||
<div class="block" class:center style="width: {width};">
|
||||
<slot></slot>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.block {
|
||||
display: block;
|
||||
text-align: initial;
|
||||
max-width: 99%;
|
||||
overflow-wrap: anywhere;
|
||||
margin: 8px auto;
|
||||
|
||||
background-color: var(--shaded_background);
|
||||
border-radius: 8px;
|
||||
padding: 8px;
|
||||
}
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user