fix theme preview image css

This commit is contained in:
Mario Vavti 2015-03-05 12:52:09 +01:00
parent 3fa4123161
commit b9a1b01c92
2 changed files with 2 additions and 2 deletions

View File

@ -1141,7 +1141,7 @@ Array.prototype.remove = function(item) {
function previewTheme(elm) {
theme = $(elm).val();
$.getJSON('pretheme?f=&theme=' + theme,function(data) {
$('#theme-preview').html('<div id="theme-desc">' + data.desc + '</div><div id="theme-version">' + data.version + '</div><div id="theme-credits">' + data.credits + '</div><a href="' + data.img + '"><img src="' + data.img + '" width="320" height="240" alt="' + theme + '" /></a>');
$('#theme-preview').html('<div id="theme-desc">' + data.desc + '</div><div id="theme-version">' + data.version + '</div><div id="theme-credits">' + data.credits + '</div><a href="' + data.img + '"><img src="' + data.img + '" style="max-width:100%;" alt="' + theme + '" /></a>');
});
}

View File

@ -255,7 +255,7 @@ footer {
}
#theme-preview {
margin: 15px 0 15px 150px;
margin: 15px 0 15px 0px;
}
.fakebutton {