Update feature table with new transfer limits
This commit is contained in:
@@ -13,9 +13,9 @@ export let file = {
|
||||
{#if file.show_ads && file.size > 1e8}
|
||||
<!-- If the file is larger than 100 MB we show a warning about the transfer speed -->
|
||||
<TextBlock width="650px" center={true}>
|
||||
Your download speed is currently limited to 4 MiB/s. Downloading this
|
||||
Your download speed is currently limited to 2 MiB/s. Downloading this
|
||||
file for free will take at least
|
||||
{formatDuration((file.size/4194304)*1000)} (under ideal conditions).
|
||||
{formatDuration((file.size/2097152)*1000)} (under ideal conditions).
|
||||
You can
|
||||
<a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291427&cadence=12">
|
||||
upgrade to Pro
|
||||
|
@@ -87,9 +87,9 @@ const code = async file => {
|
||||
|
||||
<div bind:this={container} class="container">
|
||||
{#if text_type === "markdown"}
|
||||
<div bind:this={md_container}>
|
||||
<section bind:this={md_container} class="md">
|
||||
Loading...
|
||||
</div>
|
||||
</section>
|
||||
{:else if text_type === "text"}
|
||||
<pre bind:this={text_pre}>
|
||||
Loading...
|
||||
@@ -110,13 +110,19 @@ const code = async file => {
|
||||
width: 100%;
|
||||
font-size: 0.9em;
|
||||
line-height: 1.5em;
|
||||
padding: 5px 5px 5px 20px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.container > pre {
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
white-space: pre-wrap;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
}
|
||||
.container > .md {
|
||||
display: block;
|
||||
padding: 10px;
|
||||
margin: auto;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user