Skip to content

Commit

Permalink
Fix/wrap text on hero button (#381)
Browse files Browse the repository at this point in the history
* fix: display on safari

* fix: missing class
  • Loading branch information
alexanderleegs authored Mar 15, 2024
1 parent 80287b8 commit e9ff9cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/homepage/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h1 class="display padding--bottom--lg margin--none">
section.hero.url and section.hero.button -%}
<a
href="{{- site.baseurl -}}{{- section.hero.url -}}"
class="bp-button is-secondary is-uppercase search-button"
class="bp-button is-secondary is-uppercase search-button hero-button"
>
{{- section.hero.button -}}
</a>
Expand Down
5 changes: 5 additions & 0 deletions assets/css/blueprint.css
Original file line number Diff line number Diff line change
Expand Up @@ -11621,4 +11621,9 @@ h6 center {
}
.social-logo:hover {
filter: brightness(1);
}
.hero-button.bp-button {
min-height: 2.4rem;
height: auto;
white-space: normal;
}

0 comments on commit e9ff9cf

Please sign in to comment.