From 7391705439a225603b52701a5906d0c8f97f765d Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 19 Nov 2019 17:05:36 +0000 Subject: [PATCH] Apply 100% width to stretch class Previously, Asciidoctor used spread for a full-width table but this changed [1] to stretch in 1.5.7. As a result, a table that should be full-width is not when using spring.css with Asciidoctor 1.5.7+. This commit updates the CSS to apply 100% width to stretch. This is done in addition to spread to avoid breaking backwards compatibility. [1] https://github.com/asciidoctor/asciidoctor/issues/2589 --- src/main/sass/spring/_asciidoctor.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/sass/spring/_asciidoctor.scss b/src/main/sass/spring/_asciidoctor.scss index aa93c83..d972d8d 100644 --- a/src/main/sass/spring/_asciidoctor.scss +++ b/src/main/sass/spring/_asciidoctor.scss @@ -110,7 +110,7 @@ object, svg { margin-right: auto; } -.spread { +.spread, .stretch { width: 100%; }