Skip to content

Commit ab9b5d6

Browse files
committed
Image-Gallery-insert-icon changed due to the outcomes from the user evaluation -> #47 fixed
1 parent 1bb1170 commit ab9b5d6

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

SearchResultList.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@
349349
// add insert button
350350
var insertButton = $(
351351
'<div class="image-button gallery-btn-insert-image">' +
352-
'<img title="<?!= msg('SEARCH_RESULT_LIST_INSERT_IMAGE') ?>" src="https://www.dimis.fim.uni-passau.de/eexcess/photo.png">' +
352+
'<img title="<?!= msg('SEARCH_RESULT_LIST_INSERT_IMAGE') ?>" src="https://www.dimis.fim.uni-passau.de/eexcess/link.png">' +
353353
'</div>');
354354
insertButton.data('image', image);
355355
insertButton.data('documentBadge', documentBadge);

Stylesheet.html

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -267,16 +267,8 @@
267267

268268
.gallery-btn-insert-image {
269269
position: absolute;
270-
bottom: 20px;
271-
margin-left: auto;
272-
margin-right: auto;
273-
left: 0;
274-
right: 0;
275-
display: none;
276-
}
277-
278-
.gallery-item:hover .gallery-btn-insert-image {
279-
display: block;
270+
bottom: 10px;
271+
right: 5px;
280272
}
281273

282274
.gallery-item:hover .gallery-img {

0 commit comments

Comments
 (0)