Skip to content

Commit

Permalink
Merge pull request #901 from appwrite/add-hero-banner-button-trim-tex…
Browse files Browse the repository at this point in the history
…t-long-line

Add trim text for hero banner
  • Loading branch information
TorstenDittmann authored Apr 18, 2024
2 parents c07fdde + d5a5ee1 commit 8867bc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<span class="web-icon-star" aria-hidden="true" />
<span class="web-caption-500">New</span>
<div class="web-hero-banner-button-sep" />
<span class="web-caption-400">Introducing Appwrite's React Native SDK</span>
<span class="web-caption-400 web-u-trim-1">Introducing Appwrite's React Native SDK</span>
<span class="web-icon-arrow-right" aria-hidden="true" />
</a>
<div class="web-hero is-horizontal">
Expand Down
1 change: 1 addition & 0 deletions src/scss/6-elements/_hero-banner-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
color:hsl(var(--p-hero-button-text-color));
box-shadow:0 0 0 pxToRem(4) hsl(var(--p-hero-button-shadow-out-color));

> * { min-inline-size:0; }
[class*="icon"] { align-self:center; }
&-sep {
inline-size:pxToRem(1); block-size:pxToRem(16); align-self:center; margin-inline:pxToRem(4);
Expand Down

0 comments on commit 8867bc6

Please sign in to comment.