From 9e72d1e25537caeac602e6417a7fd8e249101650 Mon Sep 17 00:00:00 2001 From: Merlin Buczek Date: Thu, 29 Aug 2019 19:32:49 +0200 Subject: [PATCH] Add clearfix for floating images --- mpicms/static/css/custom.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/mpicms/static/css/custom.css b/mpicms/static/css/custom.css index e8bb209..ae7d882 100644 --- a/mpicms/static/css/custom.css +++ b/mpicms/static/css/custom.css @@ -599,19 +599,25 @@ body { width: 100%; } -/* Text content */ +/* Content */ .content h1, .content h2, .content h3 { width: 100%; display: inline-block; } -/* Links */ - a { color: inherit; } a:hover { color: grey; +} + +.rich-text::after { + content: ''; + width: 100%; + height: 0; + display: table; + clear: both; } \ No newline at end of file