From c3914f083da8f669f9996781653f4ecbf54107a5 Mon Sep 17 00:00:00 2001 From: Kumi Date: Sun, 18 Aug 2024 22:02:46 +0200 Subject: [PATCH] fix: add clear property to floated elements Added the clear property to both .alignright and .alignleft classes to prevent content wrapping issues. This change ensures that elements following these classes start on a new line, maintaining the intended layout and improving readability. --- style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index 696e809..5658dd9 100644 --- a/style.css +++ b/style.css @@ -188,12 +188,14 @@ a h5 { .alignright { float: right; + clear: right; margin-left: 20px; - margin-bottom: 20px; + margin-bottom: 20px;; } .alignleft { float: left; + clear: left; margin-right: 20px; margin-bottom: 20px; }