From 9ebcbd1d59ac1ac08af387808f1f0ba029b154c1 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Wed, 15 Apr 2020 08:55:15 +0800 Subject: [PATCH] theme: default: give itte-thread its own block context because it may contain `float` and `clear` elements. Those will intefere with our `float: left` sidebar. --- theme/default/static/style.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/theme/default/static/style.css b/theme/default/static/style.css index eccdfd6..683a299 100644 --- a/theme/default/static/style.css +++ b/theme/default/static/style.css @@ -581,4 +581,7 @@ blockquote { #itte-thread { /* The Itte CSS overrides the margin. We override it back :) */ margin-right: 10px !important; + /* Give itte-thread its own block context */ + /* it contains float elements and clear, which interferes with sidebar */ + overflow: hidden; }