Skip to content

Commit

Permalink
news-banner: fix link area
Browse files Browse the repository at this point in the history
  • Loading branch information
protitude committed Jan 29, 2025
1 parent fee1a74 commit c5eafc8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions components/02-molecules/news-banner/_news-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ h2.news-banner--banner-title {
font-size: 1rem;
font-weight: normal;
@include medium {
position: absolute;
bottom: 28%;
width: 90%;
}
a {
Expand All @@ -91,6 +89,7 @@ h2.news-banner--banner-title {
color: $gray-dark;
width: 100%;
@include medium {
padding-top: 23px;
color: $white;
}
&:hover {
Expand All @@ -110,8 +109,12 @@ h2.news-banner--banner-title {
bottom: 0;
width: inherit;
height: inherit;
margin: -25% 0 0 0;
margin: 0;
transform: none;

@include medium {
margin: -25% 0 0 0;
}
}
}
}
Expand Down

0 comments on commit c5eafc8

Please sign in to comment.