Skip to content

Commit

Permalink
fix: resolve image flickering in the access section on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-hey authored and mirkobrombin committed Dec 29, 2024
1 parent 16b288e commit ab63d5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions public/assets/css/components/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@
max-width: 100%;
}

/* Fix image flickering on mobile */
#access .hero-image {
width: 900px;
}

.hero.hero--bg-center .hero-wrapper {
padding: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@

<section class="hero hero--big hero--bg-center hero--extra-margin" id="access">
<article class="hero-wrapper container">
<img class="hero-image onFocus" data-focus-class="fadeInZoom" src="/assets/images/backgrounds/apps-overview.png"
<img class="hero-image onFocus" data-focus-class="fadeIn" src="/assets/images/backgrounds/apps-overview.png"
alt="Access the largest set of applications." />
<div class="hero-content">
<header class="hero-heading">
Expand Down

0 comments on commit ab63d5f

Please sign in to comment.