Skip to content

Commit

Permalink
Merge pull request #1600 from bhilbert4/widen-margins-in-exp-pages
Browse files Browse the repository at this point in the history
Adjust view image and view exposure to allow for larger preview images
  • Loading branch information
mfixstsci authored Jul 13, 2024
2 parents 4d11753 + 3b91465 commit b93667f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions jwql/website/apps/jwql/static/css/jwql.css
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,11 @@
display: inline-block;
}

.image_views {
margin-left: 2%;
margin-right: 2%;
}

#loading {
text-align:center;
margin: 0 auto;
Expand Down
2 changes: 1 addition & 1 deletion jwql/website/apps/jwql/templates/view_exposure.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

{% block content %}

<main role="main" class="container">
<main role="main" class="image_views">
<!-- Show exposure group name -->
<h3>Exposure {{ group_root }}</h3>

Expand Down
4 changes: 2 additions & 2 deletions jwql/website/apps/jwql/templates/view_image.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

{% block content %}

<main role="main" class="container">
<main role="main" class="image_views">
<!-- Show image group name -->
<h3>{{ file_root }}</h3>

Expand Down Expand Up @@ -85,7 +85,7 @@ <h3>{{ file_root }}</h3>
<span class="image_preview">
<img class="image_preview_viewer" id="image_viewer"
onerror="image_error(this, true);"
title="Preview image for {{ file_root }}">
title="Preview image for {{ file_root }}" width=1000rem height=auto>
</span>

<div class="int_changer">
Expand Down

0 comments on commit b93667f

Please sign in to comment.