Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Maják
Commits
871b6f43
Verified
Commit
871b6f43
authored
1 year ago
by
jindra12
Browse files
Options
Downloads
Patches
Plain Diff
Bugfixes after edit
#209
parent
c0520c59
No related branches found
No related tags found
2 merge requests
!804
Release
,
!791
Improve graphic styling of donate
Pipeline
#13665
passed
1 year ago
Stage: build
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
donate/static/donate/assets/css/style.css
+3
-3
3 additions, 3 deletions
donate/static/donate/assets/css/style.css
donate/wagtail_hooks.py
+1
-1
1 addition, 1 deletion
donate/wagtail_hooks.py
with
4 additions
and
4 deletions
donate/static/donate/assets/css/style.css
+
3
−
3
View file @
871b6f43
...
@@ -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
;
}
}
This diff is collapsed.
Click to expand it.
donate/wagtail_hooks.py
+
1
−
1
View file @
871b6f43
...
@@ -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_
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment