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 the issue with the thumbnail size #10258

Merged
merged 4 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ public static InputStream getLogoAsInputStream(Dataset dataset) {

try {
in = ImageThumbConverter.getImageThumbnailAsInputStream(thumbnailFile.getStorageIO(),
ImageThumbConverter.DEFAULT_CARDIMAGE_SIZE).getInputStream();
ImageThumbConverter.DEFAULT_DATASETLOGO_SIZE).getInputStream();
} catch (IOException ioex) {
logger.warning("getLogo(): Failed to get logo from DataFile for " + dataset.getStorageIdentifier()
+ " (" + ioex.getMessage() + ")");
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/resources/css/structure.css
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ span.search-term-match {font-weight: bold;}
[id$='resultsTable'] div.card-title-icon-block span.label {vertical-align:15%}
[id$='resultsTable'] div.card-preview-icon-block {width:48px; float:left; margin:4px 12px 6px 0;}
[id$='resultsTable'] div.card-preview-icon-block a {display:block; height:48px; line-height:48px;}
[id$='resultsTable'] div.card-preview-icon-block img {vertical-align:middle;}
[id$='resultsTable'] div.card-preview-icon-block img {vertical-align:middle; max-width: 64px; max-height: 48px; padding-right: 10px;}
[id$='resultsTable'] div.card-preview-icon-block span[class^='icon'],
[id$='resultsTable'] div.card-preview-icon-block span[class^='glyphicon'] {font-size:2.8em;}

Expand Down
Loading