Added max width and max-height for picture

This commit is contained in:
Kasper Rynning-Tønnesen
2017-02-08 13:26:24 +01:00
parent cc61d70218
commit 26be5df1e9
4 changed files with 12 additions and 7 deletions

View File

@@ -989,6 +989,11 @@ hide mdi-action-visibility mdi-action-visibility-off
width: 80%;
}
#thumbnail_image_channel{
max-width: 200px;
max-height: 400px;
}
#thumbnail_image{
text-align: center;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -260,7 +260,7 @@ var Admin = {
}
if(conf_array.thumbnail != undefined && conf_array.thumbnail != ""){
$("#thumbnail_image").html("<img src='" + conf_array.thumbnail + "' width='100' height='100' alt='thumbnail' />");
$("#thumbnail_image").html("<img id='thumbnail_image_channel' src='" + conf_array.thumbnail + "' alt='thumbnail' />");
}
if(conf_array.description != undefined && conf_array.description != ""){