Browse Source

Fixes bg images not loading on home view

main
Keith Daulton 2 years ago
parent
commit
326b120536
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      src/webviews/apps/home/home.html

+ 5
- 2
src/webviews/apps/home/home.html View File

@ -68,7 +68,7 @@
<header-card id="header-card" image="#{webroot}/media/gitlens-logo.webp"></header-card> <header-card id="header-card" image="#{webroot}/media/gitlens-logo.webp"></header-card>
</header> </header>
<main class="home__main" id="main" tabindex="-1"> <main class="home__main" id="main" tabindex="-1">
<style>
<style nonce="#{cspNonce}">
.video-banner { .video-banner {
--video-banner-bg: url(#{webroot}/media/getting-started.webp); --video-banner-bg: url(#{webroot}/media/getting-started.webp);
} }
@ -80,6 +80,9 @@
.vscode-light .video-banner { .vscode-light .video-banner {
--video-banner-play: url(#{webroot}/media/play-button-dark.webp); --video-banner-play: url(#{webroot}/media/play-button-dark.webp);
} }
.gl-plus-banner {
background-image: url(#{webroot}/media/gitlens-backdrop.webp);
}
</style> </style>
<div class="stepped-sections"> <div class="stepped-sections">
<stepped-section id="welcome"> <stepped-section id="welcome">
@ -245,7 +248,7 @@
</stepped-section> </stepped-section>
<stepped-section id="plus"> <stepped-section id="plus">
<span slot="heading">Want even more from GitLens?</span> <span slot="heading">Want even more from GitLens?</span>
<card-section no-heading backdrop="#{webroot}/media/gitlens-backdrop.webp">
<card-section class="gl-plus-banner" no-heading>
<div class="centered"> <div class="centered">
<p class="type-tight"> <p class="type-tight">
<span class="logo"><span class="foreground">Git</span>Lens+</span> <span class="logo"><span class="foreground">Git</span>Lens+</span>

Loading…
Cancel
Save