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.
This commit is contained in:
Kumi 2024-08-18 22:02:46 +02:00
parent c0665e0444
commit c3914f083d
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -188,12 +188,14 @@ a h5 {
.alignright { .alignright {
float: right; float: right;
clear: right;
margin-left: 20px; margin-left: 20px;
margin-bottom: 20px; margin-bottom: 20px;;
} }
.alignleft { .alignleft {
float: left; float: left;
clear: left;
margin-right: 20px; margin-right: 20px;
margin-bottom: 20px; margin-bottom: 20px;
} }