chiark / gitweb /
static/tgal.css: Use flex layout for the thumbnail strip.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 16 Dec 2021 02:32:33 +0000 (02:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 16 Dec 2021 02:32:33 +0000 (02:32 +0000)
Using flow layout respects the whitespace between the thumbnails, which
leaves me with an annoying choice between strictly-correct rendering and
moderately well-formatted source text.

static/tgal.css

index dc95e2c318c82d4ae99449c3aff2d7d2d2c516bb..933b974e2029321a77bcf34dae68493c6db216c3 100644 (file)
@@ -148,7 +148,7 @@ div.thumbstrip {
        width: 100%;
        overflow-x: auto;
        text-align: center;
-       white-space: nowrap;
+       display: flex; flex-direction: row;
 }
 
 /*----- That's all, folks -------------------------------------------------*/