Skip to content

Commit

Permalink
Merge pull request #954 from City-of-Helsinki/UHF-9866
Browse files Browse the repository at this point in the history
UHF-9866: Arrow and underline refactoring
  • Loading branch information
teroelonen authored Nov 6, 2024
2 parents 4fe1913 + a2b76ec commit 25ed73a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 22 deletions.
2 changes: 1 addition & 1 deletion public/themes/custom/hdbt_subtheme/dist/css/styles.min.css

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

12 changes: 6 additions & 6 deletions public/themes/custom/hdbt_subtheme/package-lock.json

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

Original file line number Diff line number Diff line change
Expand Up @@ -72,28 +72,13 @@
}

.plan__link {
text-decoration: none;

// Make the whole card clickable.
&::before {
content: '';
display: block;
inset: 0;
position: absolute;
}

.link__type {
left: $spacing-and-half;
bottom: $spacing-and-half;
position: absolute;

@include breakpoint($breakpoint-l) {
--line-height: 2;
left: auto;
// Arbitrary value from the design to line up the icon in a pretty way.
right: 20px;
}
}
}

.plan__published {
Expand Down

0 comments on commit 25ed73a

Please sign in to comment.