From c3bda0d654c4c231dcaf01b4a8e5a862a91370d8 Mon Sep 17 00:00:00 2001 From: Jason Hughes Date: Mon, 28 Jun 2021 16:56:08 -0700 Subject: [PATCH] fix alignment of new spec diagram on page --- site/docs/css/extra.css | 7 +++++++ site/docs/spec.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/site/docs/css/extra.css b/site/docs/css/extra.css index 3d79de02b3b6..d5b7a35438fb 100644 --- a/site/docs/css/extra.css +++ b/site/docs/css/extra.css @@ -92,3 +92,10 @@ pre { padding: 0.5em; padding-left: 1em; } + +.spec-img { + float: right; + max-width: 50%; + min-width: 265px; + margin: 1em 0 1em 2em; +} \ No newline at end of file diff --git a/site/docs/spec.md b/site/docs/spec.md index db84a64510df..0b3fea392c70 100644 --- a/site/docs/spec.md +++ b/site/docs/spec.md @@ -42,7 +42,7 @@ The primary goal of version 2 is to provide a way to encode row-level deletes. T ## Overview -![Iceberg snapshot structure](img/iceberg-metadata.png){.floating} +![Iceberg snapshot structure](img/iceberg-metadata.png){.spec-img} This table format tracks individual data files in a table instead of directories. This allows writers to create data files in-place and only adds files to the table in an explicit commit.