Skip to content

Commit

Permalink
Merge pull request #623 from StadGent/feature/SGD8-2896
Browse files Browse the repository at this point in the history
SGD8-2896: Fix floating title
  • Loading branch information
SvenVdv authored Dec 17, 2024
2 parents d450fb3 + 76a4076 commit 932fadf
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions components/41-organisms/timeline/_timeline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,12 @@ dl.timeline {
dl.roadmap {
counter-reset: item;

.roadmap-title {
@include desktop {
padding-left: calc($roadmap-img-desktop-size + 30px);
}
}

.timeline-slot {
position: relative;
padding-bottom: 50px;
Expand Down
5 changes: 3 additions & 2 deletions components/41-organisms/timeline/timeline--roadmap.twig
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<div class="roadmap-wrapper">
{# Timeline paragraph BEGIN #}
{# Timeline paragraph title #}
<h2 class="visually-hidden">Roadmap timeline title</h2>
<dl class="roadmap">
{# Timeline paragraph title #}
<h2 class="roadmap-title">Roadmap timeline title</h2>

{# Timeline item BEGIN #}
<div class="timeline-slot" role="listitem">
<div class="item">
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gent_styleguide",
"version": "6.0.0-beta33",
"version": "6.0.0-beta34",
"description": "Styleguide Stad.Gent",
"devDependencies": {
"@babel/core": "^7.20.12",
Expand Down

0 comments on commit 932fadf

Please sign in to comment.