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/gallery photo small screen and scroll #525

Open
wants to merge 2 commits into
base: develop
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
2 changes: 2 additions & 0 deletions atlas/static/css/atlas.css
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,8 @@ footer {
#insertPhotos {
/*margin-bottom: 20px;*/
padding: 0px;
max-height: 100vh;
overflow-y: auto;
}

#filtresPhotos {
Expand Down
3 changes: 1 addition & 2 deletions atlas/static/galleryPhoto.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ function generateHtmlPhoto(photos, redimentionnement, taxhub_url) {
</div>
</a>
</div>
</div>
</div>`;
</div>`;

htmlPhoto += onePhoto;
});
Expand Down
6 changes: 3 additions & 3 deletions atlas/templates/photoGalery/_main.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ <h1 class="title">{{ _('gallery.title') }}<span id="group"></span></h1>
</div>
<h3 id="nbPhotos"></h3>
</div>

<div id="insertPhotos" class="d-flex flex-wrap bg-white flex-grow-1">

<div class="col-sm-12">
<div id="insertPhotos" class="col-sm-12 d-flex flex-wrap bg-white flex-grow-1">
</div>
</div>
</div>
{% endblock %}
Loading