Skip to content
Snippets Groups Projects
Verified Commit 871b6f43 authored by jindra12's avatar jindra12
Browse files

Bugfixes after edit

parent c0520c59
No related branches found
No related tags found
2 merge requests!804Release,!791Improve graphic styling of donate
Pipeline #13665 passed
...@@ -1204,12 +1204,12 @@ img.full-width { ...@@ -1204,12 +1204,12 @@ img.full-width {
font-weight: inherit; font-weight: inherit;
} }
/* OVERRIDE RICHTEXT IMAGES FOR MAIN PAGE (TODO: find out if we can apply this to all richtext images in donate */ /* OVERRIDE RICHTEXT IMAGES */
.section--custom .richtext-image.left { .richtext-image.left {
float: left; float: left;
margin-right: 1.5rem; margin-right: 1.5rem;
} }
.section--custom .richtext-image.right { .richtext-image.right {
float: right; float: right;
margin-left: 1.5rem; margin-left: 1.5rem;
} }
...@@ -28,7 +28,7 @@ def register_font_color_feature(features): ...@@ -28,7 +28,7 @@ def register_font_color_feature(features):
for color_name, color_value in font_colors: for color_name, color_value in font_colors:
feature_name = "font_color_" + color_value feature_name = "font_color_" + color_value
type_ = "FONT_COLOR_" + color_value type_ = "FONT_COLOR_" + color_value
tag = "span" tag = f"span{color_name.lower()}" # This must be a "custom" HTML element in order for wagtail to correctly save it :-)
control = { control = {
"type": type_, "type": type_,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment