Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bdk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hebotek
bdk
Commits
8fae208f
Commit
8fae208f
authored
Dec 14, 2023
by
Michael Apfelthaler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Margin to Fact Filter
parent
854e3ba2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
facts.twig
templates/components/facts.twig
+1
-1
index.twig
templates/facts/index.twig
+1
-1
style.css
web/assets/css/style.css
+9
-0
No files found.
templates/components/facts.twig
View file @
8fae208f
...
...
@@ -6,7 +6,7 @@
{%
endif
%}
</h2>
<div
class=
"news mt16"
>
{%
for
newsElement
in
craft.entries.section
(
'facts'
)
.
limit
(
3
)
%}
{%
set
image
=
newsElement.
images
.one
()
%}
{%
set
image
=
newsElement.
teaserImage
.one
()
%}
<div
class=
"wm-card wm-card--m wm-card--linked"
data-wm-card
>
<h3
class=
"wm-card__heading "
>
...
...
templates/facts/index.twig
View file @
8fae208f
...
...
@@ -8,7 +8,7 @@
<h1
class=
"mt32"
>
{{
"Facts"
|
t
}}
</h1>
<form
class=
"fact-filters wm-nav-tag__list
mt16
"
>
<form
class=
"fact-filters wm-nav-tag__list"
>
{%
set
allFilterEnabled
=
true
%}
{%
for
thema
in
craft.entries.section
(
'themen'
)
%}
{%
if
category
==
thema.slug
%}
...
...
web/assets/css/style.css
View file @
8fae208f
...
...
@@ -551,6 +551,11 @@ iframe {
order
:
-1
;
}
.fact-filters
{
margin-top
:
32px
;
margin-bottom
:
48px
;
}
.fact-filters
.wm-nav-tag__link
[
disabled
]
{
background-color
:
#f3f1ef
;
color
:
#000
;
...
...
@@ -589,6 +594,10 @@ iframe {
margin-bottom
:
32px
;
}
.mb48
{
margin-bottom
:
48px
;
}
@media
only
screen
and
(
max-width
:
1200px
)
{
.maxWidthLimit
{
padding-left
:
32px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment