undo 09.03 changes instead get current width of tabs

pull/2/head
Squidly271 2017-09-04 13:57:40 -04:00
parent beb746d9b4
commit 46399c23dd
4 changed files with 8 additions and 7 deletions

Binary file not shown.

View File

@ -2,8 +2,8 @@
<!DOCTYPE PLUGIN [
<!ENTITY name "community.applications">
<!ENTITY author "Andrew Zawadzki">
<!ENTITY version "2017.09.03a">
<!ENTITY md5 "742514c2bd0b805898f84738c7002983">
<!ENTITY version "2017.09.04">
<!ENTITY md5 "ab75ecfc755b22b0f92a0c5a7816fc20">
<!ENTITY launch "Settings/PluginSettings">
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
<!ENTITY github "Squidly271/community.applications">
@ -13,6 +13,9 @@
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
<CHANGES>
###2017.09.04
- Remove arbitrary limitation of 1920 pixels across for CA (introduced via 6.4-rc8q) Instead utilize whatever limits unRaid's CSS dictates
###2017.09.03
- Limit display width to 1920 pixels in accordance with 6.4RC8Q
- Only display legacy mode option for developers or in case of appfeed download errors

View File

@ -529,10 +529,8 @@ function changePage(pageNumber) {
}
function getWindowWidth() {
var width = $(window).width();
if ( width > 1920 ) {
width = 1920;
}
var width = $('.tabs').width();
return width;
}

View File

@ -8,7 +8,7 @@
"footer": "</div>"
},
"detail": {
"templateWidth": 600,
"templateWidth": 580,
"header": "<div style='display:block;overflow:hidden;'>",
"sol": "<div style='height:300px;overflow:auto;margin:0px;min-width:%1$spx;display:inline-block;'>",
"template": "<div style='width:200px;float:left;display:inline-block;'><center>%75$sAuthor: <strong>%59$s</strong></center><center><font size='1'>%40$s</font></center><center>%43$s%41$s</center><figure><center>%65$s</center><figcaption><strong><center><font size='3'>%66$s</font><br>%46$s%45$s%44$s</center></strong></figcaption></figure><center><font color='red'>%58$s</font></center><center>%56$s</center></div><div style='display:inline-block;width:370px;text-align:left; float:left; overflow:auto;'><strong>Categories: </strong>%21$s<br><span class='desc_readmore' style='display:block'><font color='red'>%57$s<br></font>%22$s%64$s</span><br>%39$s%38$s</b></strong><center>%68$s%69$s%70$s%71$s%72$s%73$s%74$s</center><br><center>%37$s%36$s%48$s<br>%35$s</center><font></div>",