Skip to content

fix(hero): make banner full-bleed on wide screens - #486

Merged
vitormattos merged 2 commits into
mainfrom
fix/hero-full-bleed-wide-screens
Aug 28, 2026
Merged

fix(hero): make banner full-bleed on wide screens#486
vitormattos merged 2 commits into
mainfrom
fix/hero-full-bleed-wide-screens

Conversation

@YvesCesar

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: YvesCesar <yvesamorim73@gmail.com>
@YvesCesar
YvesCesar requested a review from vitormattos August 26, 2026 21:28
@github-actions

github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1-4-g2a6da11

QR code for preview link

🚀 View preview at
https://libresign.github.io/site-preview/pr-preview/pr-486/

Built to branch main at 2026-08-28 16:35 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@vitormattos

vitormattos commented Aug 27, 2026

Copy link
Copy Markdown
Member

Look at my 4k display:

image

If is hd display it's ok:

image

Do we have a solution for this?

@vitormattos

Copy link
Copy Markdown
Member

Maybe we can use the same image as the background with a blur effect:

.ud-hero {
  position: relative;
  overflow: hidden;

  &::before {
    content: "";
    position: absolute;
    inset: -40px;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(32px);
    transform: scale(1.08);
    opacity: 0.7;
  }
}

And limit the main image width:

.ud-hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(1920px, 100%);
}

This could fill the extra space on very wide screens using colors from the same image, without stretching the main image too much.

…backdrop

Signed-off-by: YvesCesar <yvesamorim73@gmail.com>
@YvesCesar

Copy link
Copy Markdown
Contributor Author

@vitormattos

I made the adjustment, but the preview didn't update.

I took some screenshots:

Screenshot From 2026-08-28 12-39-18 Screenshot From 2026-08-28 12-39-39

@vitormattos

Copy link
Copy Markdown
Member

The preview was updated. Sometimes the deploy of a new preview delay a bit.

@vitormattos
vitormattos merged commit 0d017d3 into main Aug 28, 2026
6 checks passed
@vitormattos
vitormattos deleted the fix/hero-full-bleed-wide-screens branch August 28, 2026 18:11
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Starting production deploy of site header and footer fragments...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants