Move background size to css (#2962)

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
kolchfa-aws 2023-02-20 11:08:20 -05:00 committed by GitHub
parent 2fce4ad7a3
commit ff99f21ceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<section class="os-banner">
<header class="banner-head" style="background-image: url('{{site.url}}{{site.baseurl}}/images/graphic-bg.png'); background-size: cover;">
<header class="banner-head" style="background-image: url('{{site.url}}{{site.baseurl}}/images/graphic-bg.png')">
<div class="banner-text-div">
<span class="banner-text-header">OpenSearch Documentation</span>
<p class="banner-text-description">Learn to use OpenSearch, the highly scalable and extensible open-source software suite for search, analytics, observability, and other data-intensive applications.</p>

View File

@ -419,6 +419,7 @@ p.label {
.banner-head {
@extend .panel;
background-size: cover;
}
.banner-text-div {