Skip to content

Commit

Permalink
Merge pull request #391 from oslokommune/io-853
Browse files Browse the repository at this point in the history
Fixes missing horizontal alignment after refactor from flex to grid.
  • Loading branch information
kbergha authored Mar 4, 2023
2 parents 9db7b92 + 86d29ba commit 5c9ebc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/service_header/service_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h2 class="osg-devtools-text-preset-2">Default</h2>
<div class="osg-service-header__main">
<div class="osg-service-header__content">
<h1 class="osg-service-header__heading">Heading</h1>
<p class="osg-service-header__lead">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris porta gravida ligula at placerat.</p>
<p class="osg-service-header__lead">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris porta gravida ligula.</p>
</div>
</div>
<div class="osg-service-header__image">
Expand Down
1 change: 1 addition & 0 deletions src/components/service_header/service_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

.osg-service-header {
display: grid;
align-items: center;
grid-template-columns: repeat(12, 1fr);
column-gap: grid.$gutter-size-large;
row-gap: grid.$gutter-size-large;
Expand Down

0 comments on commit 5c9ebc1

Please sign in to comment.