diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-03-05 12:52:09 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-03-05 12:52:09 +0100 |
commit | b9a1b01c923c14848ece9aae55a435b4bba816a8 (patch) | |
tree | 975e18b87abc51e6ebd5b1b517ecc2df91ea312a /view | |
parent | 3fa41231611872b79f33469ceec5a8af1a95294d (diff) | |
download | volse-hubzilla-b9a1b01c923c14848ece9aae55a435b4bba816a8.tar.gz volse-hubzilla-b9a1b01c923c14848ece9aae55a435b4bba816a8.tar.bz2 volse-hubzilla-b9a1b01c923c14848ece9aae55a435b4bba816a8.zip |
fix theme preview image css
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 2 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index c659d25cf..3a98972f9 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -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>'); }); } diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 4878cd23f..4a8155d4a 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -255,7 +255,7 @@ footer { } #theme-preview { - margin: 15px 0 15px 150px; + margin: 15px 0 15px 0px; } .fakebutton { |