Skip to content

Commit 0c8e815

Browse files
committed
Fix letter spacing by not having 1px fonts in SVG
1 parent c889c17 commit 0c8e815

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

lib/components_guide_web/templates/cheatsheets/cloud-limits.html.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22

33
## Storage
44

5-
<svg viewbox="0 0 24 16" width="480" height="360" class="border border-gray-800 rounded-lg">
5+
<svg viewbox="0 0 270 160" width="540" height="360" class="border border-gray-800 rounded-lg">
66
<title>Cloud Storage Limits</title>
77
<g fill="#eb4859">
8-
<circle cx="5" cy="2" r="<%= :math.sqrt(0.065 / :math.pi()) %>" />
9-
<circle cx="5" cy="4.2" r="<%= :math.sqrt(0.4 / :math.pi()) %>" />
10-
<circle cx="5" cy="6.5" r="<%= :math.sqrt(1.048 / :math.pi()) %>" />
11-
<circle cx="5" cy="11.5" r="<%= :math.sqrt(26.12 / :math.pi()) %>" />
8+
<circle cx="50" cy="20" r="<%= 10.0 * :math.sqrt(0.065 / :math.pi()) %>" />
9+
<circle cx="50" cy="42" r="<%= 10.0 * :math.sqrt(0.4 / :math.pi()) %>" />
10+
<circle cx="50" cy="65" r="<%= 10.0 * :math.sqrt(1.048 / :math.pi()) %>" />
11+
<circle cx="50" cy="115" r="<%= 10.0 * :math.sqrt(26.12 / :math.pi()) %>" />
1212
</g>
13-
<g fill="currentColor" style="font-size: 1px; alignment-baseline: central;">
14-
<text x="6" y="2.3" class="small">TCP packet: 64KiB</text>
15-
<text x="6.3" y="4.5" class="small">DynamoDB attribute: 400KB</text>
16-
<text x="6.6" y="6.8" class="small">GCP Datastore entity: ~1MiB</text>
17-
<text x="9" y="11.8" class="small">Cloudflare KV entry: 25MiB</text>
13+
<g fill="currentColor" style="font-size: 10px; alignment-baseline: central;">
14+
<text x="60" y="23">TCP packet: 64KiB</text>
15+
<text x="63" y="45">DynamoDB attribute: 400KB</text>
16+
<text x="66" y="68">GCP Datastore entity: 1MiB</text>
17+
<text x="90" y="118">Cloudflare KV entry: 25MiB</text>
1818
</g>
1919
</svg>
2020

21-
- TCP packet: 65,535 bytes (64KiB - 1 byte)
21+
- TCP packet: 65,535 bytes (64KiB 1 byte)
2222
- Max size of DynamoDB attribute key & value: 400KB
23-
- Max size of GCP Datastore entity: 1,048,572 bytes (1MiB - 4 bytes)
23+
- Max size of GCP Datastore entity: 1,048,572 bytes (1MiB 4 bytes)
2424
- Max size of Cloudflare KV entry: 25MiB
2525
- Max size of Gmail attachment: 25MiB
2626
- Max size of S3 Object: 5TB

0 commit comments

Comments
 (0)