fix theme preview image css
This commit is contained in:
parent
3fa4123161
commit
b9a1b01c92
@ -1141,7 +1141,7 @@ Array.prototype.remove = function(item) {
|
|||||||
function previewTheme(elm) {
|
function previewTheme(elm) {
|
||||||
theme = $(elm).val();
|
theme = $(elm).val();
|
||||||
$.getJSON('pretheme?f=&theme=' + theme,function(data) {
|
$.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>');
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -255,7 +255,7 @@ footer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#theme-preview {
|
#theme-preview {
|
||||||
margin: 15px 0 15px 150px;
|
margin: 15px 0 15px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fakebutton {
|
.fakebutton {
|
||||||
|
Reference in New Issue
Block a user