Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: jumbotron image positioned off-screen #1795

Open
wants to merge 3 commits into
base: src
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ headline: |
subtitle: Building an open source ecosystem for <br>cloud native architectures with Enterprise Java
jumbotron_btn_class: btn btn-secondary
jumbotron_class: col-xs-24
header_wrapper_class: header-wrapper header-default-bg-img
custom_jumbotron_class: col-xs-24
custom_jumbotron: |
<p>Latest Release: Jakarta EE 10 now available</p>
Expand Down
17 changes: 8 additions & 9 deletions less/components/jumbotron.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,16 @@
}
}
&.header-default-bg-img {
background-position: 90% 0;
background-position: 90% 0;

@media (min-width: @screen-sm-min) {
background-position: -230px 0;
}
@media (min-width: @screen-sm-min) {
background-position: -230px 0;
}

@media (min-width: 1400px) {
background-position: left center;
}

@media (min-width: 1400px) {
background-position: left center;
}
}
&.header-secondary-bg-img {
.featured-jumbotron {
min-height:300px;
padding-top: 200px;
Expand Down