index : paprika

A blogging platform written in Rust for Cloudflare Workers, integrated with Standard Notes

diff options
context:
space:
mode:
authorPeter Cai <[email protected]>2020-04-15 08:55:15 +0800
committerPeter Cai <[email protected]>2020-04-15 08:55:15 +0800
commit9ebcbd1d59ac1ac08af387808f1f0ba029b154c1 (patch)
treef4c38b23a5eb1377915d4d9021cc566de184a77a
parentc1304581e6392d3430983c5b68ccc2d23a8d6719 (diff)
downloadpaprika-9ebcbd1d59ac1ac08af387808f1f0ba029b154c1.tar.gz
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.
-rw-r--r--theme/default/static/style.css3
1 files changed, 3 insertions, 0 deletions
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;
}